Drivers Code Cleanups and UI Tweaks:
authorJoshua Leung <aligorith@gmail.com>
Tue, 28 Dec 2010 05:45:15 +0000 (05:45 +0000)
committerJoshua Leung <aligorith@gmail.com>
Tue, 28 Dec 2010 05:45:15 +0000 (05:45 +0000)
commit71da1e96d174fe23da58af3119ccc7c653357585
tree77b398687fdc61a72867bfcf1884934ec047f284
parent24ae6f8c91f598581b6f0cd7cc49182e7dcf3959
Drivers Code Cleanups and UI Tweaks:
- Adding drivers from the UI (not from py-scripts though) will now
automatically add a "Transform Channel" driver variable to the newly
created drivers. This makes setting up drivers a bit more convenient
for the most commonly used case.

- Drivers now report their errors using the Reports system instead of
writing these directly to the console.

- Clarified some comments to be more insightful about the "why's" of
some design decisions, and related formatting/cleanup tweaks
- Reduced scope of "path" vars to just the scope they're required in

- Removed some unused defines from a failed experiment in the original
Keying Sets code ("templates" and "template flags") which was
superseeded by the more flexible + nicer "Builtin KeyingSets"
source/blender/blenkernel/intern/fcurve.c
source/blender/editors/animation/drivers.c
source/blender/editors/include/ED_keyframing.h
source/blender/editors/space_graph/graph_buttons.c
source/blender/editors/space_outliner/outliner.c
source/blender/makesdna/DNA_anim_types.h
source/blender/python/intern/bpy_rna.c