From 2c004708f243fa8a1c27fdd1122ae63c8d832fee Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Thu, 26 Jun 2014 12:12:50 +0900 Subject: Freestyle: code cleanup: removed unused (outdated) static variables. --- .../blender/freestyle/intern/blender_interface/FRS_freestyle.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'source') diff --git a/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp b/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp index 4d60b54c348..1690e672cc0 100644 --- a/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp +++ b/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp @@ -67,7 +67,6 @@ extern "C" { // Freestyle configuration static bool freestyle_is_initialized = false; -static Config::Path *pathconfig = NULL; static Controller *controller = NULL; static AppView *view = NULL; @@ -84,8 +83,6 @@ int freestyle_viewport[4]; // current scene Scene *freestyle_scene; -static string default_module_path; - static void load_post_callback(struct Main *main, struct ID *id, void *arg) { lineset_copied = false; @@ -107,7 +104,6 @@ void FRS_initialize() if (freestyle_is_initialized) return; - pathconfig = new Config::Path; controller = new Controller(); view = new AppView; controller->setView(view); @@ -115,9 +111,6 @@ void FRS_initialize() freestyle_scene = NULL; lineset_copied = false; - default_module_path = pathconfig->getProjectDir() + Config::DIR_SEP + "style_modules" + - Config::DIR_SEP + "contour.py"; - BLI_callback_add(&load_post_callback_funcstore, BLI_CB_EVT_LOAD_POST); freestyle_is_initialized = 1; @@ -133,7 +126,6 @@ void FRS_set_context(bContext *C) void FRS_exit() { - delete pathconfig; delete controller; delete view; } -- cgit v1.2.3