![]() ![]() ![]() Then, I made a clicker object that rotates back and forth, and I time looped that ever few frames so it’s synced with the wheel spinning. So what I did was make the wheel and rotate a certain integer of 360 degrees at some time (I was originally just going to do this for 30 frames and then time loop it, but I had a weird problem where it would freeze on frame 4, 8, etc. I’m trying to animate something like a wheel of fortune. Note: I’m in 30fps, if my time references are confusing. Synfig/synfig-studio/src/gui/workarearenderer/renderer_canvas.Is there any way to slow down parts of an animation? I thought i could do something with “free time” or “time loop,” but I’m currently stumped. The link between this function and the previous one is in: Once again limiting the product of this->width and this->height here prevents the crash, therefore meaning something is using these values again. The next chokepoint(basically where you can comment the code and stop seeing the crash from occuring) I found was this function in synfig/synfig-core/src/synfig/rendering/surface.cpp: Therefore I think the problem lies within some function using the values of w and h in some way and thereby causing a segmentation fault. It is also specifically the product of theirs that is the problem as you can set w to 1 and y to 12220554 and the program wont crash still. ![]() Locking the product of the w and h to 12220554 prevents the crash from happening. I also suspect that this value(12220554) is dependent on the machine running the application. Somehow limiting the values to prevent the product of w and h from exceeding 12220554 prevents the crash however it limits the functionality of the zoom function. After a lot of trial and error I discovered that for some reason when the product of w and h is somewhere greater than 12220554 that the application always crashes(12220554 was the last value I tested that worked and 12223068 was the first value that didn't work for me, as in the program started crashing). ![]() The problem is mainly with the values of w and h. The problem can be kind of isolated to the first 3 lines of the function:Ĭommenting the rest of the function has no effect on this crash(it is still reproducable with only these 3 lines). Refresh_dimension_info is a function inside workarea.cpp as well. The problem does lie indeed in refresh_dimension_info(kind of) There is no crash for zoom levels lower than 1000% here.Īfter diving a bit more into this problem here is what I discovered:.Filter or distortion layers don't seem to make it crash too. There must be one layer below the Curve Warp. Step 1 can be any (composite) layer, actually.Steps 3 and 5 can be both ignored, I just tried to see if the crash happens because I was zooming too fast or something like that.Synfig version: >= 1.2.1, including master branch (1.0.2 works).Enable/Activate back that CurveWarp layer.Change workspace Zoom to 1600% (via Ctrl+ mouse scroll or by typing the zoom level in the Zoom Dial widget).Disable/Inactivate this CurveWarp layer by clicking on the Layers Panel.Add a CurveWarp layer above the rectangle layer.Layer_CurveWarp with zoom at 1600% crashes Synfig ![]()
0 Comments
Leave a Reply. |