27 #include <QtDesigner/abstractpropertyeditor.h>
35 Operation(memoryXController, scene, objectId),
44 std::shared_ptr <controller::Operation> inverseOperation(
new controller::EmptyOperation(getMemoryXController(), getScene(), getObjectId()));
45 return inverseOperation;
49 std::shared_ptr <controller::Operation> inverseOperation(
new controller::DeselectOperation(getMemoryXController(), getScene(), getObjectId()));
50 return inverseOperation;
61 std::shared_ptr<scene3D::Scene> scene = getScene();
66 throw std::logic_error(
"Object does not exist");
69 if (scene->getSelectionManager()->isSelected(
object))
75 scene->getSelectionManager()->addToSelection(
object);