diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2017-03-22 21:41:03 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2017-03-22 21:42:19 +0300 |
commit | 2ba1868c3fd2dc84d75b531c6c5457de86b1e551 (patch) | |
tree | 6f1326dfddffc70c5fc1e90c34ceaf8e82fdfcbf /source/blender/windowmanager | |
parent | 387ba87ad3b9eba8e0d117474b133a5a58ea44c6 (diff) |
Cleanup/optimization: Simplify some usages of uiItemFullO/_ptr, avoid multiple search of same op.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index 9d4c3986678..841b63d4ab8 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -900,7 +900,7 @@ void WM_operator_properties_create_ptr(PointerRNA *ptr, wmOperatorType *ot) void WM_operator_properties_create(PointerRNA *ptr, const char *opstring) { - wmOperatorType *ot = WM_operatortype_find(opstring, 0); + wmOperatorType *ot = WM_operatortype_find(opstring, false); if (ot) WM_operator_properties_create_ptr(ptr, ot); |