Fix 1891403: Copy an inline canvas' RendDesc when cloning it.
[synfig.git] / synfig-core / trunk / src / synfig / canvas.cpp
index b521efa..67f06b9 100644 (file)
@@ -788,6 +788,7 @@ Canvas::clone(const GUID& deriv_guid)const
                // it was failing to ascertain the absolute pathname of the imported image, since it needs the pathname
                // of the canvas to get that, which is stored in the parent canvas
                canvas->parent_=parent();
+               canvas->rend_desc() = rend_desc();
                //canvas->set_inline(parent());
        }