diff options
Diffstat (limited to 'source/blender/blenkernel/intern/object.c')
-rw-r--r-- | source/blender/blenkernel/intern/object.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c index 9f4c8f1607b..f016e4e47a0 100644 --- a/source/blender/blenkernel/intern/object.c +++ b/source/blender/blenkernel/intern/object.c @@ -1838,7 +1838,6 @@ for a lamp that is the child of another object */ /* for calculation of the inverse parent transform, only used for editor */ void what_does_parent(Object *ob) { - clear_workob(); Mat4One(workob.obmat); Mat4One(workob.parentinv); @@ -1857,7 +1856,7 @@ void what_does_parent(Object *ob) workob.constraints.first = ob->constraints.first; workob.constraints.last = ob->constraints.last; - strcpy (workob.parsubstr, ob->parsubstr); + strcpy(workob.parsubstr, ob->parsubstr); where_is_object(&workob); } |