[Bf-blender-cvs] [e3e5697] master: Reverted part of my previous commit causing a crash.
Tamito Kajiyama
noreply at git.blender.org
Thu Jun 26 05:55:25 CEST 2014
Commit: e3e56971ebe494ac499675f00bd891f2d9cadaa3
Author: Tamito Kajiyama
Date: Thu Jun 26 12:54:55 2014 +0900
https://developer.blender.org/rBe3e56971ebe494ac499675f00bd891f2d9cadaa3
Reverted part of my previous commit causing a crash.
===================================================================
M source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp
===================================================================
diff --git a/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp b/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp
index 1690e67..9474ce7 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;
}
More information about the Bf-blender-cvs
mailing list