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:
Diffstat (limited to 'source/blender/freestyle/intern/app_blender/api.cpp')
-rw-r--r--source/blender/freestyle/intern/app_blender/api.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/app_blender/api.cpp b/source/blender/freestyle/intern/app_blender/api.cpp
index 890c5097a63..7f5135a2655 100644
--- a/source/blender/freestyle/intern/app_blender/api.cpp
+++ b/source/blender/freestyle/intern/app_blender/api.cpp
@@ -42,6 +42,7 @@ extern "C" {
if( view == NULL )
view = new AppGLWidget;
+ controller->Clear();
controller->setView(view);
}