[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [12792] trunk/blender/source/blender: Two transform tweaks:

Martin Poirier theeth at yahoo.com
Wed Dec 5 14:47:27 CET 2007


--- Joshua Leung <aligorith at gmail.com> wrote:

> Revision: 12792
>          
>
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=12792
> Author:   aligorith
> Date:     2007-12-05 12:19:36 +0100 (Wed, 05 Dec
> 2007)
> 
> Log Message:
> -----------
> 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.


Just a small suggestion. 

Instead of allocating a new temp constraint each time,
you could just put it on the stack as a local var.
It's only used locally anyway.

Martin


      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs


More information about the Bf-committers mailing list