projects
/
synfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c061ef
)
Enable load static option to the canvas parameter
author
Carlos Lopez
<genetita@gmail.com>
Tue, 24 Aug 2010 15:41:19 +0000
(17:41 +0200)
committer
Carlos Lopez
<genetita@gmail.com>
Tue, 24 Aug 2010 15:41:19 +0000
(17:41 +0200)
synfig-core/src/synfig/loadcanvas.cpp
patch
|
blob
|
history
diff --git
a/synfig-core/src/synfig/loadcanvas.cpp
b/synfig-core/src/synfig/loadcanvas.cpp
index
e36c63a
..
1e715c3
100644
(file)
--- a/
synfig-core/src/synfig/loadcanvas.cpp
+++ b/
synfig-core/src/synfig/loadcanvas.cpp
@@
-1795,6
+1795,8
@@
CanvasParser::parse_layer(xmlpp::Element *element,Canvas::Handle canvas)
if(!c) error((*iter),strprintf(_("Failed to load subcanvas '%s'"), str.c_str()));
if(!layer->set_param(param_name,c))
error((*iter),_("Layer rejected canvas link"));
+ //Parse the static option and sets it to the canvas ValueBase
+ layer->set_param_static(param_name, parse_static(child));
}
else
try