Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2008-12-03 22:33:42 +0300
committerTon Roosendaal <ton@blender.org>2008-12-03 22:33:42 +0300
commita9374c5941641b8f7322b6b2c7ad83892b5b214d (patch)
tree9e73695a85b608ff28201a9e8fb45c6a2f728b9e /source/blender/windowmanager/intern/wm.c
parent757fe56314d469608668aee0d8e57f054e41a48e (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.c4
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);