projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Commented declaration of unused variables.
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
gtkmm
/
render.cpp
diff --git
a/synfig-studio/trunk/src/gtkmm/render.cpp
b/synfig-studio/trunk/src/gtkmm/render.cpp
index
9c25a77
..
bc1c9cf
100644
(file)
--- a/
synfig-studio/trunk/src/gtkmm/render.cpp
+++ b/
synfig-studio/trunk/src/gtkmm/render.cpp
@@
-270,6
+270,10
@@
RenderSettings::on_render_pressed()
target->set_rend_desc(&rend_desc);
target->set_quality((int)adjustment_quality.get_value());
target->set_rend_desc(&rend_desc);
target->set_quality((int)adjustment_quality.get_value());
+ if( !target->init() ){
+ canvas_interface_->get_ui_interface()->error(_("Target initialisation failure"));
+ return;
+ }
canvas_interface_->get_ui_interface()->task(_("Rendering ")+filename);
canvas_interface_->get_ui_interface()->task(_("Rendering ")+filename);