running operators now uses last used settings, added reset button to set defaults.
authorCampbell Barton <ideasman42@gmail.com>
Wed, 11 Jan 2012 19:33:14 +0000 (19:33 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 11 Jan 2012 19:33:14 +0000 (19:33 +0000)
commit03b0681fe513c12fda0a377984a1a81afb9fdb8f
tree84cf5e049af410fc1585b149f23a42a5d071a978
parent02560d748f454b87f756908268f0a2c6bdde934a
running operators now uses last used settings, added reset button to set defaults.

details
- uses redo stack to get recent settings from.
- adds a flag to IDProperties so RNA_property_is_set() can return false even if the property is exists.
- PROP_SKIP_SAVE option skips these settings from getting reset (as with presets).
source/blender/editors/interface/interface_layout.c
source/blender/makesdna/DNA_ID.h
source/blender/makesrna/intern/rna_access.c
source/blender/windowmanager/WM_api.h
source/blender/windowmanager/intern/wm_event_system.c
source/blender/windowmanager/intern/wm_operators.c