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:
authorCampbell Barton <ideasman42@gmail.com>2014-01-23 11:01:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-01-23 12:05:56 +0400
commitb64f897606ecd1cc14ccbef9f54a054452e39a63 (patch)
tree09d6c5b512629646115d20956a4de41d0a9d3138 /source/blender/makesrna/intern/rna_wm.c
parent12348318d1533c6ff62b9f4b1c64268fb13cefad (diff)
WM: add WM_operatortype_remove_ptr to remove a known operator
Diffstat (limited to 'source/blender/makesrna/intern/rna_wm.c')
-rw-r--r--source/blender/makesrna/intern/rna_wm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_wm.c b/source/blender/makesrna/intern/rna_wm.c
index f4f2f834398..b82dae1bf23 100644
--- a/source/blender/makesrna/intern/rna_wm.c
+++ b/source/blender/makesrna/intern/rna_wm.c
@@ -887,7 +887,7 @@ static void rna_Operator_unregister(struct Main *bmain, StructRNA *type)
RNA_struct_free_extension(type, &ot->ext);
idname = ot->idname;
- WM_operatortype_remove(ot->idname);
+ WM_operatortype_remove_ptr(ot);
MEM_freeN((void *)idname);
/* not to be confused with the RNA_struct_free that WM_operatortype_remove calls, they are 2 different srna's */