this->name = name;
status = 0;
finished = false;
- //triggerOnResume = false;
// Graphic provides a pointer to the graphic if the entity container is a
//graphic (i.e. can also hold layers).
// Document pointer will be used for undo / redo
document = c.getDocument();
- //this->cursor = cursor;
- //setSnapMode(graphicView.getDefaultSnapMode());
+ // This is here until I can figure out a better way to contain all of this
+ // circular referential nonsense that exists in this codebase. It will be
+ // expunged, by Grabthar's Hammer!
+ graphicView->snapper.SetContainer(container);
+ graphicView->snapper.SetGraphicView(graphicView); // <-- THIS is what I mean! INSANE!
RS_DEBUG->print("ActionInterface::ActionInterface: Setting up action: \"%s\": OK", name);
}