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
path: root/source
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2010-03-14 15:12:48 +0300
committerThomas Dinges <blender@dingto.org>2010-03-14 15:12:48 +0300
commitbd34be86bf8a352138cc54564a9ab5b32c8d6f1e (patch)
treea6dfc6fc82397e0b7be22275db92c3526a6e853b /source
parent94d06bf3d4648d101d6c0d5f8f16c2d99f848d87 (diff)
Bugfix for [#21560] space bar in edit mode of bezier curves doesnt work
The wrong flag was used, OB_CURVE instead of OB_FONT.
Diffstat (limited to 'source')
-rw-r--r--source/blender/windowmanager/intern/wm_operators.c2
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 f45d3dfb6cb..4d8e48f1e8e 100644
--- a/source/blender/windowmanager/intern/wm_operators.c
+++ b/source/blender/windowmanager/intern/wm_operators.c
@@ -1236,7 +1236,7 @@ static int wm_search_menu_poll(bContext *C)
if(CTX_wm_window(C)==NULL) return 0;
if(CTX_wm_area(C) && CTX_wm_area(C)->spacetype==SPACE_CONSOLE) return 0; // XXX - so we can use the shortcut in the console
if(CTX_wm_area(C) && CTX_wm_area(C)->spacetype==SPACE_TEXT) return 0; // XXX - so we can use the spacebar in the text editor
- if(CTX_data_edit_object(C) && CTX_data_edit_object(C)->type==OB_CURVE) return 0; // XXX - so we can use the spacebar for entering text
+ if(CTX_data_edit_object(C) && CTX_data_edit_object(C)->type==OB_FONT) return 0; // XXX - so we can use the spacebar for entering text
return 1;
}