PoseMode rotate now also supports "Around individual Centers" for rotating.
This commit is contained in:
2005-09-22 20:11:21 +00:00
parent 942eb67b40
commit abb66762f1
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
} }

View File

@@ -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
} }