Blender Git Commit Log

Git Commits -> Revision 4d0c10d

Revision 4d0c10d by Campbell Barton (master)
December 24, 2010, 07:46 (GMT)
presets for operators, re-using same preset system as render, cloth etc use.
- operators need to enable the option OPTYPE_PRESET or 'PRESET' in python.
- hidden properties are not written.
- currently this only works in the file selector (enabled for FBX/OBJ export)
- currently the menu label doesnt change when presets are selected, this is a TODO, not so simple since the UI is defined in C and the label in python.
- presets save in "scripts/presets/operators/*id*/*.py"

Commit Details:

Full Hash: 4d0c10d5ca9f2fb03a6183e77ed0265ed2218cae
SVN Revision: 33883
Parent Commit: c033902
Lines Changed: +75, -1

6 Modified Paths:

/release/scripts/op/io_scene_fbx/__init__.py (+1, -0) (Diff)
/release/scripts/op/io_scene_obj/__init__.py (+1, -0) (Diff)
/release/scripts/op/presets.py (+51, -0) (Diff)
/source/blender/editors/interface/interface_layout.c (+20, -1) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+1, -0) (Diff)
/source/blender/windowmanager/WM_types.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021