Two transform tweaks:
* [Peach Request] AutoIK now respects axis locking (rotation locks). - Temporary DOF-Locks are turned on for those bones that are part of an AutoIK chain while transforming. These locks get cleared after transforming. - This works for all bones except the root bone of the chain, which doesn't seem to be able to be locked. * Limit Location constraint can now optionally affect Translations too (i.e. NKEY panel values won't change). - LimitRot,LimitScale support (for their respective transforms) will be done at a later date - This only works if the constraint is using World/Local space (the other spaces are not supported yet). - I've added a temporary button in the LimitLoc panel to enable this option (it is disabled by default). This button will be properly assigned a place in that panel sometime.
This commit is contained in:
@@ -45,6 +45,7 @@ struct Object;
|
||||
struct View3D;
|
||||
struct ScrArea;
|
||||
struct bPose;
|
||||
struct bConstraint;
|
||||
|
||||
|
||||
typedef struct NumInput {
|
||||
@@ -142,6 +143,7 @@ typedef struct TransData {
|
||||
float smtx[3][3]; /* Transformation matrix from global space to data space */
|
||||
float axismtx[3][3];/* Axis orientation matrix of the data */
|
||||
struct Object *ob;
|
||||
struct bConstraint *con; /* for objects/bones, the first constraint in its constraint stack */
|
||||
TransDataExtension *ext; /* for objects, poses. 1 single malloc per TransInfo! */
|
||||
TransDataIpokey *tdi; /* for objects, ipo keys. per transdata a malloc */
|
||||
void *tdmir; /* mirrored element pointer, in editmode mesh to EditVert */
|
||||
|
||||
Reference in New Issue
Block a user