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:54:55 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2014-06-26 07:54:55 +0400
commite3e56971ebe494ac499675f00bd891f2d9cadaa3 (patch)
treed05303ab3d114a73aac1d477c61134841cf60825 /source/blender/freestyle/intern
parent2c004708f243fa8a1c27fdd1122ae63c8d832fee (diff)
Reverted part of my previous commit causing a crash.
Diffstat (limited to 'source/blender/freestyle/intern')
-rw-r--r--source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp b/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp
index 1690e672cc0..9474ce7994d 100644
--- a/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp
+++ b/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp
@@ -67,6 +67,7 @@ extern "C" {
// Freestyle configuration
static bool freestyle_is_initialized = false;
+static Config::Path *pathconfig = NULL;
static Controller *controller = NULL;
static AppView *view = NULL;
@@ -104,6 +105,7 @@ void FRS_initialize()
if (freestyle_is_initialized)
return;
+ pathconfig = new Config::Path;
controller = new Controller();
view = new AppView;
controller->setView(view);
@@ -126,6 +128,7 @@ void FRS_set_context(bContext *C)
void FRS_exit()
{
+ delete pathconfig;
delete controller;
delete view;
}