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

3 Modified Paths:

/source/blender/blenkernel/BKE_colortools.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/colortools.c (+13, -0) (Diff)
/source/blender/makesrna/intern/rna_color.c (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021