diff options
author | Ton Roosendaal <ton@blender.org> | 2008-12-03 22:33:42 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-12-03 22:33:42 +0300 |
commit | a9374c5941641b8f7322b6b2c7ad83892b5b214d (patch) | |
tree | 9e73695a85b608ff28201a9e8fb45c6a2f728b9e /source/blender/windowmanager/intern/wm.c | |
parent | 757fe56314d469608668aee0d8e57f054e41a48e (diff) |
2.5
Fun commit for test: the Repeat Last option.
Only the split-area Operator is now added on stack, so that's the only
one that works. Just split an area, and press F4 to repeat it anywhere.
Diffstat (limited to 'source/blender/windowmanager/intern/wm.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm.c b/source/blender/windowmanager/intern/wm.c index 4a5407b2d66..7c1532210d9 100644 --- a/source/blender/windowmanager/intern/wm.c +++ b/source/blender/windowmanager/intern/wm.c @@ -75,8 +75,8 @@ void wm_operator_register(wmWindowManager *wm, wmOperator *op) int tot; if(op->ptr) { - MEM_freeN(op->ptr); - op->ptr= NULL; + // MEM_freeN(op->ptr); + // op->ptr= NULL; } BLI_addtail(&wm->operators, op); |