Bugfix #3089
PoseMode rotate now also supports "Around individual Centers" for rotating.
This commit is contained in:
@@ -3675,7 +3675,7 @@ static char *around_pup(void)
|
|||||||
strcat(string, "|Bounding Box Center %x0");
|
strcat(string, "|Bounding Box Center %x0");
|
||||||
strcat(string, "|Median Point %x3");
|
strcat(string, "|Median Point %x3");
|
||||||
strcat(string, "|3D Cursor %x1");
|
strcat(string, "|3D Cursor %x1");
|
||||||
strcat(string, "|Individual Object Centers %x2");
|
strcat(string, "|Individual Centers %x2");
|
||||||
strcat(string, "|Active Object %x4");
|
strcat(string, "|Active Object %x4");
|
||||||
return (string);
|
return (string);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1670,7 +1670,7 @@ static void applyRotation(TransInfo *t, float angle, float axis[3])
|
|||||||
|
|
||||||
/* local constraint shouldn't alter center */
|
/* local constraint shouldn't alter center */
|
||||||
if (t->around == V3D_LOCAL) {
|
if (t->around == V3D_LOCAL) {
|
||||||
if (t->flag & T_OBJECT)
|
if (t->flag & (T_OBJECT|T_POSE))
|
||||||
VECCOPY(t->center, td->center); // not supported in editmode yet
|
VECCOPY(t->center, td->center); // not supported in editmode yet
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user