Fix T39164: Mask tansform doesn't respect parent for center
A regressions since 2.69, eeeh.
This commit is contained in:
parent
19ae921495
commit
a2057005f2
Notes:
blender-bot
2023-02-14 11:00:18 +01:00
Referenced by issue #39164, In MCE, the deformation center of mask which is parented to a marker is not being updated with the position of the marker.
|
@ -6599,7 +6599,7 @@ static void MaskPointToTransData(Scene *scene, MaskSplinePoint *point,
|
|||
|
||||
td->flag = 0;
|
||||
td->loc = td2d->loc;
|
||||
copy_v3_v3(td->center, bezt->vec[1]);
|
||||
mul_v2_m3v2(td->center, parent_matrix, bezt->vec[1]);
|
||||
copy_v3_v3(td->iloc, td->loc);
|
||||
|
||||
memset(td->axismtx, 0, sizeof(td->axismtx));
|
||||
|
@ -6647,7 +6647,7 @@ static void MaskPointToTransData(Scene *scene, MaskSplinePoint *point,
|
|||
|
||||
td->flag = 0;
|
||||
td->loc = td2d->loc;
|
||||
copy_v3_v3(td->center, bezt->vec[1]);
|
||||
mul_v2_m3v2(td->center, parent_matrix, bezt->vec[1]);
|
||||
copy_v3_v3(td->iloc, td->loc);
|
||||
|
||||
memset(td->axismtx, 0, sizeof(td->axismtx));
|
||||
|
|
Loading…
Reference in New Issue