projects
/
blender.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2.5
[blender.git]
/
source
/
blender
/
windowmanager
/
intern
/
wm.c
diff --git
a/source/blender/windowmanager/intern/wm.c
b/source/blender/windowmanager/intern/wm.c
index 3333c485aaea025530e1dfba660015c9d92122fa..9e0408097d9d434742c6f3f6d1523b1f39689774 100644
(file)
--- a/
source/blender/windowmanager/intern/wm.c
+++ b/
source/blender/windowmanager/intern/wm.c
@@
-74,11
+74,6
@@
void wm_operator_register(wmWindowManager *wm, wmOperator *op)
{
int tot;
{
int tot;
- if(op->ptr) {
- // MEM_freeN(op->ptr);
- // op->ptr= NULL;
- }
-
BLI_addtail(&wm->operators, op);
tot= BLI_countlist(&wm->operators);
BLI_addtail(&wm->operators, op);
tot= BLI_countlist(&wm->operators);
@@
-130,7
+125,7
@@
void wm_add_default(bContext *C)
}
}
-/* context is allowed to be NULL, do n
e
t free wm itself (library.c) */
+/* context is allowed to be NULL, do n
o
t free wm itself (library.c) */
void wm_close_and_free(bContext *C, wmWindowManager *wm)
{
wmWindow *win;
void wm_close_and_free(bContext *C, wmWindowManager *wm)
{
wmWindow *win;