Repository navigation
Fix crash in Spline Width and return of improper type in Spline converters - #1890
Merged
Merged
Conversation
ice0
approved these changes
Dec 9, 2020
Collaborator
|
Merged. Thank you! |
Member
|
I discovered that for some reason this PR was not backported to 1.4.1. Adding it for backporting to 1.4.2... |
rodolforg
pushed a commit
to rodolforg/synfig
that referenced
this pull request
May 16, 2021
…rters (PR synfig#1890) Fix synfig#1731 The pull request contains two commits: First fixes crash in 'Spline Width' converter when you try to wrap it in 'Switch'. Similar to previously addressed in 'Spline Vertex' and 'Spline Tangent' converters. Second addresses the regression introduced in this commit: a90d014 It was no longer possible to convert real values to 'Spline Tangent/Width' and angle to 'Spline Tangent'. The reason is that upon creation of converter the size of spline would be zero and code will always return ValueBase of vector type so 'Bad Connection' error would be thrown (expected real, got vector). See linked issue for screenshot of the error.
rodolforg
pushed a commit
to rodolforg/synfig
that referenced
this pull request
May 25, 2021
…rters (PR synfig#1890) Fix synfig#1731 The pull request contains two commits: First fixes crash in 'Spline Width' converter when you try to wrap it in 'Switch'. Similar to previously addressed in 'Spline Vertex' and 'Spline Tangent' converters. Second addresses the regression introduced in this commit: a90d014 It was no longer possible to convert real values to 'Spline Tangent/Width' and angle to 'Spline Tangent'. The reason is that upon creation of converter the size of spline would be zero and code will always return ValueBase of vector type so 'Bad Connection' error would be thrown (expected real, got vector). See linked issue for screenshot of the error.
rodolforg
pushed a commit
to rodolforg/synfig
that referenced
this pull request
May 26, 2021
…rters (PR synfig#1890) Fix synfig#1731 The pull request contains two commits: First fixes crash in 'Spline Width' converter when you try to wrap it in 'Switch'. Similar to previously addressed in 'Spline Vertex' and 'Spline Tangent' converters. Second addresses the regression introduced in this commit: a90d014 It was no longer possible to convert real values to 'Spline Tangent/Width' and angle to 'Spline Tangent'. The reason is that upon creation of converter the size of spline would be zero and code will always return ValueBase of vector type so 'Bad Connection' error would be thrown (expected real, got vector). See linked issue for screenshot of the error.
rodolforg
pushed a commit
to rodolforg/synfig
that referenced
this pull request
May 27, 2021
…rters (PR synfig#1890) Fix synfig#1731 The pull request contains two commits: First fixes crash in 'Spline Width' converter when you try to wrap it in 'Switch'. Similar to previously addressed in 'Spline Vertex' and 'Spline Tangent' converters. Second addresses the regression introduced in this commit: a90d014 It was no longer possible to convert real values to 'Spline Tangent/Width' and angle to 'Spline Tangent'. The reason is that upon creation of converter the size of spline would be zero and code will always return ValueBase of vector type so 'Bad Connection' error would be thrown (expected real, got vector). See linked issue for screenshot of the error.
morevnaproject
pushed a commit
that referenced
this pull request
Jul 12, 2021
…rters (PR #1890) Fix #1731 The pull request contains two commits: First fixes crash in 'Spline Width' converter when you try to wrap it in 'Switch'. Similar to previously addressed in 'Spline Vertex' and 'Spline Tangent' converters. Second addresses the regression introduced in this commit: a90d014 It was no longer possible to convert real values to 'Spline Tangent/Width' and angle to 'Spline Tangent'. The reason is that upon creation of converter the size of spline would be zero and code will always return ValueBase of vector type so 'Bad Connection' error would be thrown (expected real, got vector). See linked issue for screenshot of the error.
morevnaproject
pushed a commit
to morevnaproject/synfig
that referenced
this pull request
Aug 9, 2021
…rters (PR synfig#1890) Fix synfig#1731 The pull request contains two commits: First fixes crash in 'Spline Width' converter when you try to wrap it in 'Switch'. Similar to previously addressed in 'Spline Vertex' and 'Spline Tangent' converters. Second addresses the regression introduced in this commit: a90d014 It was no longer possible to convert real values to 'Spline Tangent/Width' and angle to 'Spline Tangent'. The reason is that upon creation of converter the size of spline would be zero and code will always return ValueBase of vector type so 'Bad Connection' error would be thrown (expected real, got vector). See linked issue for screenshot of the error.
morevnaproject
pushed a commit
to morevnaproject/synfig
that referenced
this pull request
Aug 9, 2021
…rters (PR synfig#1890) Fix synfig#1731 The pull request contains two commits: First fixes crash in 'Spline Width' converter when you try to wrap it in 'Switch'. Similar to previously addressed in 'Spline Vertex' and 'Spline Tangent' converters. Second addresses the regression introduced in this commit: a90d014 It was no longer possible to convert real values to 'Spline Tangent/Width' and angle to 'Spline Tangent'. The reason is that upon creation of converter the size of spline would be zero and code will always return ValueBase of vector type so 'Bad Connection' error would be thrown (expected real, got vector). See linked issue for screenshot of the error.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix #1731
This is the final part. Feel free to close the linked issue after merging.
The pull request contains two commits:
It was no longer possible to convert real values to 'Spline Tangent/Width' and angle to 'Spline Tangent'. The reason is that upon creation of converter the size of spline would be zero and code will always return ValueBase of vector type so 'Bad Connection' error would be thrown (expected real, got vector). See linked issue for screenshot of the error.