projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Type: 'segmentsssss' -> 'segments'.
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
gtkmm
/
preview.cpp
diff --git
a/synfig-studio/trunk/src/gtkmm/preview.cpp
b/synfig-studio/trunk/src/gtkmm/preview.cpp
index
51d434b
..
78f8749
100644
(file)
--- a/
synfig-studio/trunk/src/gtkmm/preview.cpp
+++ b/
synfig-studio/trunk/src/gtkmm/preview.cpp
@@
-858,6
+858,10
@@
void studio::Widget_Preview::repreview()
void studio::Widget_Preview::stoprender()
{
+ // don't crash if the render has already been stopped
+ if (!preview->renderer)
+ return;
+
if(preview)
if (preview->renderer->updating)
preview->renderer->stop();