Fix T43427: Particle system children sometimes not generated on reload
[blender.git] / source / blender / blenkernel / intern / dynamicpaint.c
index bbc8cc314f5a7d76424fe3891af99ae21f3209be..762b24dfdf854a22f3913faeb4b4187e17f1cafc 100644 (file)
@@ -1502,7 +1502,7 @@ static void dynamicPaint_setInitialColor(Scene *scene, DynamicPaintSurface *surf
                                        uv[0] = tface[i].uv[j][0] * 2.0f - 1.0f;
                                        uv[1] = tface[i].uv[j][1] * 2.0f - 1.0f;
 
-                                       multitex_ext_safe(tex, uv, &texres, pool, scene_color_manage);
+                                       multitex_ext_safe(tex, uv, &texres, pool, scene_color_manage, false);
 
                                        if (texres.tin > pPoint[*vert].alpha) {
                                                copy_v3_v3(pPoint[*vert].color, &texres.tr);
@@ -1536,7 +1536,7 @@ static void dynamicPaint_setInitialColor(Scene *scene, DynamicPaintSurface *surf
                                uv_final[0] = uv_final[0] * 2.0f - 1.0f;
                                uv_final[1] = uv_final[1] * 2.0f - 1.0f;
 
-                               multitex_ext_safe(tex, uv_final, &texres, NULL, scene_color_manage);
+                               multitex_ext_safe(tex, uv_final, &texres, NULL, scene_color_manage, false);
 
                                /* apply color */
                                copy_v3_v3(pPoint[i].color, &texres.tr);