X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fbase%2Factioninterface.cpp;fp=src%2Fbase%2Factioninterface.cpp;h=00c5439c944c7fa544807a94d41c778e0dd4e4a5;hb=a18a12fc3bcb18e5c7ca5494d7f97fb8b93f90a2;hp=1b4d5d8171303c46f9658943b82853a27675bf4a;hpb=5adb444f3e523d3fd028617ced72d1ea6661db21;p=architektonas diff --git a/src/base/actioninterface.cpp b/src/base/actioninterface.cpp index 1b4d5d8..00c5439 100644 --- a/src/base/actioninterface.cpp +++ b/src/base/actioninterface.cpp @@ -53,6 +53,8 @@ ActionInterface::ActionInterface(const char * name, EntityContainer & ec, { DEBUG->print("ActionInterface::ActionInterface: Setting up action: \"%s\"", name); +// Is it? Doesn't seem like it. Whenever you change snap types, the preview disappears. +// Not sure what's going on with that. //This doesn't work properly; not sure why that is... //Actually, it's working perfectly. Now we just need to propagate the fixes everywhere. :-/ // We'll use snapperVisibility for the save/restore functionality... @@ -63,8 +65,9 @@ ActionInterface::ActionInterface(const char * name, EntityContainer & ec, finished = false; // Graphic provides a pointer to the graphic if the entity container is a - // graphic (i.e. can also hold layers). - graphic = ec.getGraphic(); + // drawing (i.e. can also hold layers). +#warning "!!! Need to rename graphic to drawing !!!" + graphic = ec.GetDrawing(); // Document pointer will be used for undo / redo document = ec.getDocument();