object in dupli instances were not getting modifiers applied with render settings
authorCampbell Barton <ideasman42@gmail.com>
Mon, 28 Jan 2008 20:45:28 +0000 (20:45 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 28 Jan 2008 20:45:28 +0000 (20:45 +0000)
source/blender/blenkernel/intern/DerivedMesh.c

index 9ee4e62b9cb1d3d61d90e86f0cd297c6b687cc0e..94a968970fabafd5f6395e727d1f06bca19906a8 100644 (file)
@@ -2479,7 +2479,7 @@ static void mesh_build_data(Object *ob, CustomDataMask dataMask)
                        CustomData_free_layer_active(&me->fdata, CD_MCOL, me->totface);
                } else {
                        mesh_calc_modifiers(ob, NULL, &ob->derivedDeform,
-                                           &ob->derivedFinal, 0, 1,
+                                           &ob->derivedFinal, G.rendering, 1,
                                            needMapping, dataMask);
                }