diff options
author | Luca Rood <dev@lucarood.com> | 2017-07-03 13:41:40 +0300 |
---|---|---|
committer | Luca Rood <dev@lucarood.com> | 2017-07-03 13:51:10 +0300 |
commit | 44397a7a0a93f4e24865cef9276d09d0fe51880f (patch) | |
tree | 404a50e91e428672c296e49ef769f8a98033e54e /source/blender/editors/object | |
parent | d48a9528ca2a2cc9b5fa0d1d221c3efe1491d078 (diff) |
Fix T51883: Wrong matrix computation in "Make Duplicates Real"
Diffstat (limited to 'source/blender/editors/object')
-rw-r--r-- | source/blender/editors/object/object_add.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c index a901560079a..b5a9c4e9e5b 100644 --- a/source/blender/editors/object/object_add.c +++ b/source/blender/editors/object/object_add.c @@ -1464,8 +1464,6 @@ static void make_object_duplilist_real(bContext *C, Scene *scene, Base *base, } if (ob_dst->parent) { - invert_m4_m4(ob_dst->parentinv, dob->mat); - /* note, this may be the parent of other objects, but it should * still work out ok */ BKE_object_apply_mat4(ob_dst, dob->mat, false, true); @@ -1486,7 +1484,6 @@ static void make_object_duplilist_real(bContext *C, Scene *scene, Base *base, ob_dst->partype = PAROBJECT; /* similer to the code above, see comments */ - invert_m4_m4(ob_dst->parentinv, dob->mat); BKE_object_apply_mat4(ob_dst, dob->mat, false, true); DAG_id_tag_update(&ob_dst->id, OB_RECALC_OB); } |