855 ref->setColor (maincolor); |
855 ref->setColor (maincolor); |
856 ref->setFileInfo (doc); |
856 ref->setFileInfo (doc); |
857 ref->setPosition (g_origin); |
857 ref->setPosition (g_origin); |
858 ref->setTransform (g_identity); |
858 ref->setTransform (g_identity); |
859 getCurrentDocument()->insertObj (refidx, ref); |
859 getCurrentDocument()->insertObj (refidx, ref); |
860 R()->compileObject (ref); |
|
861 |
860 |
862 // Refresh stuff |
861 // Refresh stuff |
863 updateDocumentList(); |
862 updateDocumentList(); |
864 doFullRefresh(); |
863 doFullRefresh(); |
865 } |
864 } |