Tamito Kajiyama
812515b623
Freestyle: Fix for a potential infinite loop in stroke resampling by vertex count.
...
Changes were made in Stroke::Resample(int) in C++ to prevent a potential infinite loop
caused by an inconsistency between Stroke::_Length and the stroke length computed
based on stroke vertices. Such a stroke length inconsistency is usually caused by missing
calls of Stroke::UpdateLength() (i.e., API implementation bugs), but also may occur due
to scripting errors in user-defined style modules. This commit is meant to help script
writters to identify the latter error cases. Now Stroke.resample(int) may raise a runtime
error to signal an error condition.
2014-06-04 15:03:42 +09:00
..
2014-04-17 14:37:07 +09:00
2014-04-17 14:37:07 +09:00
2014-06-04 15:03:42 +09:00
2014-04-17 14:37:10 +09:00
2014-05-03 18:54:59 +09:00
2014-04-17 14:37:10 +09:00
2014-04-17 14:37:07 +09:00
2014-04-17 14:37:07 +09:00
2014-04-17 14:37:07 +09:00
2013-03-31 01:11:07 +00:00
2014-04-17 14:37:07 +09:00
2013-03-31 01:11:07 +00:00
2014-04-17 14:37:07 +09:00
2013-03-31 01:11:07 +00:00
2014-04-17 14:37:07 +09:00
2013-07-07 15:29:00 +00:00
2014-04-17 14:37:07 +09:00
2014-02-02 22:05:31 +09:00
2014-04-17 14:37:07 +09:00
2014-05-03 18:54:59 +09:00
2014-04-17 14:37:07 +09:00
2013-03-31 01:11:07 +00:00
2014-04-17 14:37:07 +09:00
2013-12-17 18:01:15 +11:00
2014-04-17 14:37:07 +09:00
2014-03-19 12:47:09 +11:00
2014-04-17 14:37:07 +09:00
2013-03-31 01:11:07 +00:00
2014-04-17 14:37:07 +09:00
2013-03-31 01:11:07 +00:00
2014-04-17 14:37:07 +09:00
2013-03-31 01:11:07 +00:00
2014-04-17 14:37:07 +09:00
2013-03-31 01:11:07 +00:00
2014-04-17 14:37:07 +09:00
2013-03-31 01:11:07 +00:00
2014-04-17 14:37:07 +09:00
2014-03-13 21:00:59 +09:00
2014-04-17 14:37:07 +09:00
2013-03-31 01:11:07 +00:00
2014-04-17 14:37:07 +09:00
2013-03-31 01:11:07 +00:00
2014-04-17 14:37:07 +09:00
2013-12-17 18:01:15 +11:00
2014-04-17 14:37:07 +09:00
2014-05-03 18:54:59 +09:00
2014-04-17 14:37:07 +09:00
2013-03-31 01:11:07 +00:00
2014-04-17 14:37:07 +09:00
2013-03-31 01:11:07 +00:00
2014-04-17 14:37:07 +09:00
2013-03-31 01:11:07 +00:00
2014-04-17 14:37:07 +09:00
2013-03-31 01:11:07 +00:00
2014-04-17 14:37:07 +09:00
2013-03-31 01:11:07 +00:00
2014-04-17 14:37:07 +09:00
2013-03-31 01:11:07 +00:00
2014-04-17 14:37:07 +09:00
2014-04-17 14:37:08 +09:00
2014-04-17 14:37:08 +09:00