svn merge -r 16454:16593 https://svn.blender.org/svnroot/bf-blender/trunk/blender
[blender.git] / source / blender / blenkernel / intern / modifier.c
index ec6bc3f88e294733cd82513a74d8ee3df8261fd0..56b4aa574c78fe103f3f02cf6422762f71a8065d 100644 (file)
@@ -5294,6 +5294,11 @@ static void softbodyModifier_deformVerts(
        sbObjectStep(ob, (float)G.scene->r.cfra, vertexCos, numVerts);
 }
 
+static int softbodyModifier_dependsOnTime(ModifierData *md)
+{
+       return 1;
+}
+
 
 /* Cloth */
 
@@ -7668,6 +7673,7 @@ ModifierTypeInfo *modifierType_getInfo(ModifierType type)
                mti->flags = eModifierTypeFlag_AcceptsCVs
                                | eModifierTypeFlag_RequiresOriginalData;
                mti->deformVerts = softbodyModifier_deformVerts;
+               mti->dependsOnTime = softbodyModifier_dependsOnTime;
        
                mti = INIT_TYPE(Cloth);
                mti->type = eModifierTypeType_Nonconstructive;