Fix T45241: New depsgraph was lacking update of python drivers on time change
It's quite tricky to see if the driver actually depends on time or not, so currently used approach when we'll be doing some extra updates. This seems to correspond to how old depsgraph was dealing with this.
This commit is contained in:
@@ -93,13 +93,14 @@ static void updateDepgraph(ModifierData *md, DagForest *forest,
|
||||
static void updateDepsgraph(ModifierData *md,
|
||||
struct Main *UNUSED(bmain),
|
||||
struct Scene *UNUSED(scene),
|
||||
Object *UNUSED(ob),
|
||||
Object *ob,
|
||||
struct DepsNodeHandle *node)
|
||||
{
|
||||
MirrorModifierData *mmd = (MirrorModifierData *)md;
|
||||
if (mmd->mirror_ob != NULL) {
|
||||
DEG_add_object_relation(node, mmd->mirror_ob, DEG_OB_COMP_TRANSFORM, "Mirror Modifier");
|
||||
}
|
||||
DEG_add_object_relation(node, ob, DEG_OB_COMP_TRANSFORM, "Mirror Modifier");
|
||||
}
|
||||
|
||||
static DerivedMesh *doMirrorOnAxis(MirrorModifierData *mmd,
|
||||
|
Reference in New Issue
Block a user