]> Shamusworld >> Repos - architektonas/blobdiff - src/object.cpp
Initial bring-back of line to line intersection detection.
[architektonas] / src / object.cpp
index 09d52bf3357b02165410e82e4200877421eddb7e..4cc846028a669576f12e8545214b54f69c1a4103 100644 (file)
@@ -34,6 +34,8 @@ bool Object::selectionInProgress = false;
 QRectF Object::selection;
 double Object::gridSpacing;
 int Object::currentLayer = 0;
+Point Object::snapPoint;
+bool Object::snapPointIsValid = false;
 
 
 Object::Object(): position(Vector(0, 0)), parent(0), type(OTObject),
@@ -75,8 +77,9 @@ printf("Object: Destroyed!\n");
 }
 
 
-/*virtual*/ void Object::PointerMoved(Vector)
+/*virtual*/ bool Object::PointerMoved(Vector)
 {
+       return false;
 }