Blender Git Commit Log
Git Commits -> Revision c4956fa
Revision c4956fa by Joshua Leung (master) March 24, 2016, 02:15 (GMT) |
Drivers UI: Added name validation/linting for Driver Variables When attempting to change a driver variable name to an "invalid" name, an indicator will now be shown beside the offending variable name. Clicking on this icon will show a popup which provides more information about why the variable name cannot be used. Reasons that it knows about are: 1) Starts with number 2) Has a dot 3) Has a space 4) Starts with or contains a special character 5) Starts with an underscore (Python does allow this, but it's bad practice, and makes checking security of drivers harder) 6) Is a reserved Python keyword |
Commit Details:
Full Hash: c4956faf993c6fcd8e8726ed9d05d07682798454
Parent Commit: 322f86d
Lines Changed: +162, -7
5 Modified Paths:
/source/blender/blenkernel/BKE_fcurve.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/fcurve.c (+64, -1) (Diff)
/source/blender/editors/space_graph/graph_buttons.c (+42, -1) (Diff)
/source/blender/makesdna/DNA_anim_types.h (+39, -5) (Diff)
/source/blender/makesrna/intern/rna_fcurve.c (+16, -0) (Diff)
/source/blender/blenkernel/intern/fcurve.c (+64, -1) (Diff)
/source/blender/editors/space_graph/graph_buttons.c (+42, -1) (Diff)
/source/blender/makesdna/DNA_anim_types.h (+39, -5) (Diff)
/source/blender/makesrna/intern/rna_fcurve.c (+16, -0) (Diff)