BGE Button types panel, can edit existing buttons but not add new ones yet.
[blender-staging.git] / source / blender / editors / space_logic / logic_buttons.c
index b082d5d6ae25dcb39838cef6b0663395b314d21f..db6922f304ce87994ab6093c52d8dab48d3cb960 100644 (file)
@@ -66,6 +66,7 @@
 
 #include "logic_intern.h"
 
+#if 0
 static void do_logic_panel_events(bContext *C, void *arg, int event)
 {
        
@@ -96,12 +97,12 @@ static void logic_panel_view_properties(const bContext *C, Panel *pa)
        uiBlockSetHandleFunc(block, do_logic_panel_events, NULL);
        
 }      
-
+#endif
 
 void logic_buttons_register(ARegionType *art)
 {
        PanelType *pt;
-
+#if 0
        pt= MEM_callocN(sizeof(PanelType), "spacetype logic panel properties");
        strcpy(pt->idname, "LOGIC_PT_properties");
        strcpy(pt->label, "Logic Properties");
@@ -113,6 +114,7 @@ void logic_buttons_register(ARegionType *art)
        strcpy(pt->label, "View Properties");
        pt->draw= logic_panel_view_properties;
        BLI_addtail(&art->paneltypes, pt);
+#endif
 
 }