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
Expected behavior: I expected my project to render.
Actual behavior: The very same project always crashed exactly at 61% when rendering. Nothing I did seemed to fix it. But a lot of thinking and trying finally managed me to find the source of the problem:
Steps to Reproduce
Create a node graph with a checkerboard followed by transform followed by a writer
Set frame range in project settings to 1-1
Set scale to -1 and amount to 0.5 in the transform node
render
1. Create any simple node graph.
2. Have the node graph include a [transform]-node.
3. Have the [transform]-node set a transformation of Scale x = -1
4. Set first key-event of [transform]-node to be "amount = 0", the second to be "amount = 1"
5. Connect node to viewer or writer.
6. Rendering will lead to a full crash at frame when "amount = 0.5" and "Scale x = 0".
Trying to view the graph in the viewer will lead to this particular frame not appearing in the preview.
Notes
I tried to provoke a similiar "Scale x = 0" -conflict by repeating the same problem with setting the keys directly on the "Scale x"-property instead of the "amount"-property. This seems to solve the problem.
If I remember correctly the ERROR can also be avoided by just setting the first key to the first frame. Though if it is at any frame after that the problem relyable seems to persist.
My bet on how to fix the bug: Probably someone forgot to check for a divide-by-zero or null-parameter error when changing the scale indirectly using "amount" instead of "scale x" directly in combination with animation starting at a frame later than the first.
If this is correct it could be an indicator for smelly code structure.
Versions
Natron version/commit: Natron Version 2.2.5
OS version: Windows 10
The text was updated successfully, but these errors were encountered:
How I stumbled upon the problem:
Expected behavior: I expected my project to render.
Actual behavior: The very same project always crashed exactly at 61% when rendering. Nothing I did seemed to fix it. But a lot of thinking and trying finally managed me to find the source of the problem:
Steps to Reproduce
1. Create any simple node graph.2. Have the node graph include a [transform]-node.
3. Have the [transform]-node set a transformation of Scale
x= -14. Set first key-event of [transform]-node to be "amount = 0", the second to be "amount = 1"
5. Connect node to viewer or writer.
6. Rendering will lead to a full crash at frame when "amount = 0.5" and "Scale x = 0".
Trying to view the graph in the viewer will lead to this particular frame not appearing in the preview.
Notes
Versions
The text was updated successfully, but these errors were encountered: