diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-07-20 20:21:55 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-07-20 20:21:55 +0400 |
commit | 33bfd7397b8b0031bd2cf46d2037a8da4ef40888 (patch) | |
tree | b956392c96cc696052ef1fc46279f02d84e6adf8 /source/blender/editors/space_logic/logic_buttons.c | |
parent | cc69f1301387ea920a225b6eb49283e3c03e1b06 (diff) |
BGE Button types panel, can edit existing buttons but not add new ones yet.
World Physics panel too though Im not sure if we'll eventually move this into another struct.
Diffstat (limited to 'source/blender/editors/space_logic/logic_buttons.c')
-rw-r--r-- | source/blender/editors/space_logic/logic_buttons.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/editors/space_logic/logic_buttons.c b/source/blender/editors/space_logic/logic_buttons.c index b082d5d6ae2..db6922f304c 100644 --- a/source/blender/editors/space_logic/logic_buttons.c +++ b/source/blender/editors/space_logic/logic_buttons.c @@ -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 } |