Branch: refs/heads/master
Home: https://github.com/synfig/synfig
Commit: 3e130dc3de7161fa8385b8cd9f3a5920d3c20f18
https://github.com/synfig/synfig/commit/3e130dc3de7161fa8385b8cd9f3a5920d3c20f18
Author: rodolforg <[email protected]>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M synfig-studio/src/synfigapp/wplistconverter.cpp
Log Message:
-----------
fix: crash with a bline containing only 2 points that are too close (#2855)
distance[n-1] would be zero, and make the WidthPoint position to be NaN
That problem is propagated, affects synfig::hom_to_std() and a crash happens
How to reproduce: with Draw Tool and a drawing tablet, quickly tap twice
(or more in a row) at the same point. Synfig Studio crashes.
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl