Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2014-06-26 07:12:50 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2014-06-26 07:13:39 +0400
commit2c004708f243fa8a1c27fdd1122ae63c8d832fee (patch)
treeb34ae4be4a2532f0e12cdd32bfb5819c432f68c4 /source/blender/freestyle/intern
parent8d6f546f32c9e635866bb69a842822fcea90abb6 (diff)
Freestyle: code cleanup: removed unused (outdated) static variables.
Diffstat (limited to 'source/blender/freestyle/intern')
-rw-r--r--source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp8
1 files changed, 0 insertions, 8 deletions
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;
}