git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2255
1f10aa63-cdf2-0310-b900-
c93c546f37ac
(*iter)->add_to_group(new_name);
}
}
+
+void
+Canvas::register_external_canvas(String file_name, Handle canvas)
+{
+ if(!is_absolute_path(file_name)) file_name = get_file_path()+ETL_DIRECTORY_SEPARATOR+file_name;
+ externals_[file_name] = canvas;
+}
Handle clone(const GUID& deriv_guid=GUID())const;
+ void register_external_canvas(String file, Handle canvas);
+
private:
void add_group_pair(String group, etl::handle<Layer> layer);
void remove_group_pair(String group, etl::handle<Layer> layer);