From 75aaa476cb84b46b2ad85fd17ce715327181c0d8 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Mon, 1 Dec 2014 02:24:55 +1300 Subject: Removing last vestigial remains of old C-based UI for Grease Pencil I'd kept the code around in the codebase until after the merge back to master to avoid having too many conflicts if things changed there (or in case we needed to roll back). Now, it's safe to jettison this! --- source/blender/editors/space_node/node_buttons.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'source/blender/editors/space_node/node_buttons.c') diff --git a/source/blender/editors/space_node/node_buttons.c b/source/blender/editors/space_node/node_buttons.c index 67882504d23..76a096b8471 100644 --- a/source/blender/editors/space_node/node_buttons.c +++ b/source/blender/editors/space_node/node_buttons.c @@ -199,17 +199,6 @@ void node_buttons_register(ARegionType *art) pt->draw = node_tree_interface_panel; pt->poll = node_tree_interface_poll; BLI_addtail(&art->paneltypes, pt); - -#if 0 - pt = MEM_callocN(sizeof(PanelType), "spacetype node panel gpencil"); - strcpy(pt->idname, "NODE_PT_gpencil"); - strcpy(pt->label, N_("Grease Pencil")); - strcpy(pt->translation_context, BLF_I18NCONTEXT_DEFAULT_BPYRNA); - pt->draw_header = ED_gpencil_panel_standard_header; - pt->draw = ED_gpencil_panel_standard; - pt->poll = active_nodetree_poll; - BLI_addtail(&art->paneltypes, pt); -#endif } static int node_properties_toggle_exec(bContext *C, wmOperator *UNUSED(op)) -- cgit v1.2.3