patch for bug #17553: material emit is allowed to go from 0.0 to 2.0; however curves...
authorNathan Letwory <nathan@letworyinteractive.com>
Sat, 30 Aug 2008 21:41:02 +0000 (21:41 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Sat, 30 Aug 2008 21:41:02 +0000 (21:41 +0000)
reported and patched by slikdigit

source/blender/blenkernel/intern/ipo.c

index 4af25ee99e713d14c7796ec55cb579476a2f59ae..543d564a79b323958086f5b743ce4912c6cd7236 100644 (file)
@@ -1672,6 +1672,8 @@ void set_icu_vars(IpoCurve *icu)
                                icu->ymax= 5.0; break;
                        case MA_ADD:
                                icu->ymax= 1.0; break;
+                       case MA_EMIT:
+                               icy->ymax= 2.0; break;
                        default:
                                icu->ymax= 1.0; break;
                        }