Blender Git Loki

Git Commits -> Revision 5f40c0e

Revision 5f40c0e by Campbell Barton (master)
November 8, 2011, 16:59 (GMT)
- operator presets now work in the 3D view as well as the file selector.

to enable from python:
bl_options = {'REGISTER', 'UNDO', 'PRESET'}

from C:
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO|OPTYPE_PRESET;

- added context member 'active_operator'
- enable this for 'Add Torus' for testing.

Commit Details:

Full Hash: 5f40c0e9a5b5665e559b441c7659050ff861931d
SVN Revision: 41669
Parent Commit: 51ead63
Lines Changed: +27, -4

3 Modified Paths:

/release/scripts/startup/bl_operators/add_mesh_torus.py (+1, -1) (Diff)
/release/scripts/startup/bl_operators/presets.py (+2, -3) (Diff)
/source/blender/editors/screen/screen_context.c (+24, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021