Blender Git Commit Log

Git Commits -> Revision 6c881a7

Revision 6c881a7 by Joshua Leung (master)
November 25, 2009, 12:00 (GMT)
AnimSys - Transform Locks + RNA:

The Animation System now respects the Transform Locks too (i.e. lock x-location, etc.) when writing settings. This means that it is no longer necessary to set up "constant drivers" to make sure some values don't get accidentally animated.

Internally, added a new callback for properties in RNA, which is responsible for checking if the item at some array-index is editable. This needs to be manually called for each place which uses rna to set settings for arrays (see the code changes in anim_sys.c for changes how to do this; the same thing needs to be done in the UI code too, and probably in py-api too)

Commit Details:

Full Hash: 6c881a7a6d9a5168ebbc5aa5339ed4324aef2154
SVN Revision: 24880
Parent Commit: 4c5b430
Lines Changed: +201, -14

9 Modified Paths:

/source/blender/blenkernel/intern/anim_sys.c (+24, -12) (Diff)
/source/blender/makesrna/intern/makesrna.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_access.c (+20, -0) (Diff)
/source/blender/makesrna/intern/rna_define.c (+10, -0) (Diff)
/source/blender/makesrna/intern/rna_internal_types.h (+4, -1) (Diff)
/source/blender/makesrna/intern/rna_object.c (+70, -0) (Diff)
/source/blender/makesrna/intern/rna_pose.c (+70, -0) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -0) (Diff)
/source/blender/makesrna/RNA_define.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021