Blender Git Loki
Git Commits -> Revision 00641bb
Revision 00641bb by Antonis Ryakiotakis (master) September 9, 2013, 18:39 (GMT) |
Attempt fix for #36688. Curves may not be not initialized when called from python. C code explicilty says that curvemapping_initialize should be called prior to evaluating the curve, however the curve clip rectangle is not available when calling evaluation on the curvemap. This is not possible unless we force the evaluation on CurveMapping level, not on CurveMap level. For now just pass a rectangle with the x boundary values of the curvemap for evaluation to avoid the crash. |
Commit Details:
Full Hash: 00641bb237d32c341134e22201459aa74ea2e370
SVN Revision: 59965
Parent Commit: 97d250f
Lines Changed: +15, -0