=== Transform ===

Modified version of patch #5281 by Joshua Leung.

It's a two part patch:

	Add a Roll button in the transform properties floating panel with bones selected in edit mode

	Add a Roll transform (Ctrl-R) that can be used to modify the roll of selected bones in edit mode

The transformation modifies the roll of all selected bones incrementally (like a rotation does to the bones' rotation) [that is the part that differs from the patch. The patch would set the same roll value to all bones]


Also, this commit includes some shuffling around of the functions, to keep the previously logical order. :)
This commit is contained in:
2006-12-03 19:54:27 +00:00
parent 2d87c36efa
commit f72a56bdfc
6 changed files with 310 additions and 195 deletions

View File

@@ -1876,10 +1876,10 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
CutEdgeloop(1);
BIF_undo_push("Cut Edgeloop");
}
//else if (G.obedit->type==OB_ARMATURE) {
// initTransform(TFM_BONE_ROLL, CTX_NONE);
// Transform();
//}
else if (G.obedit->type==OB_ARMATURE) {
initTransform(TFM_BONE_ROLL, CTX_NONE);
Transform();
}
}
else if((G.qual==0)) {
initTransform(TFM_ROTATION, CTX_NONE);