]> Shamusworld >> Repos - architektonas/blobdiff - src/base/information.cpp
In the middle of chasing down MDI not activating bug, renaming of Graphic to
[architektonas] / src / base / information.cpp
index 6c63857d2d584b6e636fbd4a9ba4bcb354740d1f..4838f97c1129673ae4eebafd440656b9775b6592 100644 (file)
@@ -64,7 +64,7 @@ bool Information::isTrimmable(Entity * e)
                                return true;
                        }
                        else if (e->getParent()->rtti() == RS2::EntityContainer
-                               || e->getParent()->rtti() == RS2::EntityGraphic
+                               || e->getParent()->rtti() == RS2::EntityDrawing
                                || e->getParent()->rtti() == RS2::EntityBlock)
                        {
                                // normal entity:
@@ -108,10 +108,10 @@ bool Information::isTrimmable(Entity * e1, Entity * e2)
                                }
                        }
                        else if ((e1->getParent()->rtti() == RS2::EntityContainer
-                               || e1->getParent()->rtti() == RS2::EntityGraphic
+                               || e1->getParent()->rtti() == RS2::EntityDrawing
                                || e1->getParent()->rtti() == RS2::EntityBlock)
                                && (e2->getParent()->rtti() == RS2::EntityContainer
-                               || e2->getParent()->rtti() == RS2::EntityGraphic
+                               || e2->getParent()->rtti() == RS2::EntityDrawing
                                || e2->getParent()->rtti() == RS2::EntityBlock))
                        {
                                // normal entities: