diff options
Diffstat (limited to 'source/blender/editors/object/object_constraint.c')
-rw-r--r-- | source/blender/editors/object/object_constraint.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_constraint.c b/source/blender/editors/object/object_constraint.c index abdf64af595..e424d2cc5bf 100644 --- a/source/blender/editors/object/object_constraint.c +++ b/source/blender/editors/object/object_constraint.c @@ -222,8 +222,9 @@ static void update_pyconstraint_cb(void *arg1, void *arg2) # else Object *owner = (Object *)arg1; bConstraint *con = (bConstraint *)arg2; - if (owner && con) + if (owner && con) { BPY_pyconstraint_update(owner, con); + } # endif } #endif // UNUSED |