Fix Merge > To Cursor
In master this is working fine, but in 2.8 ob->imat was identity matrix. Committing this in master to simplify merging.
This commit is contained in:
@@ -2328,6 +2328,7 @@ static bool merge_target(
|
||||
if (use_cursor) {
|
||||
vco = ED_view3d_cursor3d_get(scene, v3d);
|
||||
copy_v3_v3(co, vco);
|
||||
invert_m4_m4(ob->imat, ob->obmat);
|
||||
mul_m4_v3(ob->imat, co);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user