Revision: 27478
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=27478
Author:   dingto
Date:     2010-03-14 13:12:48 +0100 (Sun, 14 Mar 2010)

Log Message:
-----------
Bugfix for [#21560] space bar in edit mode of bezier curves doesnt work

The wrong flag was used, OB_CURVE instead of OB_FONT.

Modified Paths:
--------------
    trunk/blender/source/blender/windowmanager/intern/wm_operators.c

Modified: trunk/blender/source/blender/windowmanager/intern/wm_operators.c
===================================================================
--- trunk/blender/source/blender/windowmanager/intern/wm_operators.c    
2010-03-14 12:12:21 UTC (rev 27477)
+++ trunk/blender/source/blender/windowmanager/intern/wm_operators.c    
2010-03-14 12:12:48 UTC (rev 27478)
@@ -1236,7 +1236,7 @@
        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;
 }
 


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to