You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow manipulation of tangent waypoints in Graphs panel #3426
In "Graphs" panel we can manipulate waypoints of all the default types (vector, real, etc.) but Radial Composite isn't one of them. Therefore, when you try to move tangent's waypoints in the Graphs you get "Add waypoint: Action is not ready" error:
To Reproduce
Create an outline
Move one of the tangents in the animated mode - a waypoint is created
Select the tangent you animated in the Parameters panel
Go to Menu->Window->Graphs
Try to move a waypoint, you'll get the above error
Expected behavior
Being able to manage waypoints that have Radial Composite type in the Graphs panel. I can understand the problem of moving waypoints if valuenode has some user conversions but in case of Radial Composite it's what Synfig itself saves tangents in by default so it's reasonable to expect them to work.
Yeah, but it's not important for this issue, since Composite is not a default type, the user clicked on a node and hit Convert->Composite.
I'd say let's fix all the default types (don't know if anything is there besides Radial Composite that doesn't work) and leave the rest for the feature request. For example, in "Add" converter we can have LHS as a free node that we can manipulate through Graphs and RHS for user-specified conversion but it'll complicate things, so let's leave it out for now.
I know. Someone along the line thought that storing tangents as Radial composites instead of plain vectors was a good idea. I don't know what reasoning was behind that... We could change it but then we would have to care about backwards compatibility, additional hooks in loadcanvas.cpp, not sure it's worth it.
Anyway, I fixed them. Three work hours :P
Thanks dude, I do appreciate what you do for Synfig. I am sorry if I am causing you stress... Please don't feel obligated to fix any of my issues, I don't want you to burn out. If you feel like taking a break, please do, it is open source, you don't owe anyone your time. I was about to post two more issues, tell me if it's alright, or I will just chill out for some time with all this posting.
Someone along the line thought that storing tangents as Radial composites instead of plain vectors was a good idea.
I think the reason is about tangent vector being normally referred by polar coordinates, as modulo and angle is more intuitive regarding the direction the curve will follow.
Origin is a 'vector' but is more like a point...
Please don't feel obligated to fix any of my issues, I don't want you to burn out.
No worries. I just thought it would be simpler and faster :P
I was about to post two more issues, tell me if it's alright, or I will just chill out for some time with all this posting.
You can do it :) If I'm (we're) tired or unable or indifferent to solve them, I just drop it or try it later.
I'm struggling to finish the port remaining layers to Cobra renderer due to some pixel shifting, so it's good to have other stuff to do. ;)
I'm struggling to finish the port remaining layers to Cobra renderer
Yeah, this is a hard task. The whole situation with Cobra engine where the lead programmer left mid-development still angers me to this day... Wish you luck with this task and you can always ping me if you need some testing to be done.
You can do it :)
Alright then, I am gonna post a pretty heavy issue later today.
Activity
rodolforg commentedon Sep 28, 2024
It happens also with regular Composite.
I don't know if any other value node type has the same issue.
Svarov-RZM commentedon Sep 29, 2024
Yeah, but it's not important for this issue, since Composite is not a default type, the user clicked on a node and hit Convert->Composite.
I'd say let's fix all the default types (don't know if anything is there besides Radial Composite that doesn't work) and leave the rest for the feature request. For example, in "Add" converter we can have LHS as a free node that we can manipulate through Graphs and RHS for user-specified conversion but it'll complicate things, so let's leave it out for now.
fix: handle (Radial)Composite valuenodes via Widget_Curves
rodolforg commentedon Sep 29, 2024
Radial Composite is not a primitive: a tangent is a vector too.
Anyway, I fixed them. Three work hours :P
Svarov-RZM commentedon Sep 29, 2024
I know. Someone along the line thought that storing tangents as Radial composites instead of plain vectors was a good idea. I don't know what reasoning was behind that... We could change it but then we would have to care about backwards compatibility, additional hooks in loadcanvas.cpp, not sure it's worth it.
Thanks dude, I do appreciate what you do for Synfig. I am sorry if I am causing you stress... Please don't feel obligated to fix any of my issues, I don't want you to burn out. If you feel like taking a break, please do, it is open source, you don't owe anyone your time. I was about to post two more issues, tell me if it's alright, or I will just chill out for some time with all this posting.
rodolforg commentedon Sep 29, 2024
I think the reason is about tangent vector being normally referred by polar coordinates, as modulo and angle is more intuitive regarding the direction the curve will follow.
Origin is a 'vector' but is more like a point...
No worries. I just thought it would be simpler and faster :P
You can do it :) If I'm (we're) tired or unable or indifferent to solve them, I just drop it or try it later.
I'm struggling to finish the port remaining layers to Cobra renderer due to some pixel shifting, so it's good to have other stuff to do. ;)
Svarov-RZM commentedon Sep 30, 2024
Yeah, this is a hard task. The whole situation with Cobra engine where the lead programmer left mid-development still angers me to this day... Wish you luck with this task and you can always ping me if you need some testing to be done.
Alright then, I am gonna post a pretty heavy issue later today.
fix: handle (Radial)Composite valuenodes via Widget_Curves
fix: handle (Radial)Composite valuenodes via Widget_Curves (synfig#3428)