projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Initial Russian Tanslation of Synfig Studio. Thanks to Alexandre Prokoudine
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
synfigapp
/
actions
/
canvasadd.cpp
diff --git
a/synfig-studio/trunk/src/synfigapp/actions/canvasadd.cpp
b/synfig-studio/trunk/src/synfigapp/actions/canvasadd.cpp
index
1aa35a5
..
5d1554f
100644
(file)
--- a/
synfig-studio/trunk/src/synfigapp/actions/canvasadd.cpp
+++ b/
synfig-studio/trunk/src/synfigapp/actions/canvasadd.cpp
@@
-94,7
+94,7
@@
Action::CanvasAdd::set_param(const synfig::String& name, const Action::Param &pa
{
if(name=="src" && param.get_type()==Param::TYPE_CANVAS)
{
{
if(name=="src" && param.get_type()==Param::TYPE_CANVAS)
{
- new_canvas=param.get_canvas()->clone();
+
if (param.get_canvas())
new_canvas=param.get_canvas()->clone();
return true;
}
return true;
}