X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fobject.cpp;h=346c19a11536d686a0ea63ba8f4d5883bdb8f9c6;hb=642cf72c11b49a9e00128ab6258a2438c785a5ab;hp=93af822b8476008c2f60e6158955078cdaf38c0d;hpb=428876081ee41d40e32f5b4f2bfcfdb7a835e6e1;p=architektonas diff --git a/src/object.cpp b/src/object.cpp index 93af822..346c19a 100644 --- a/src/object.cpp +++ b/src/object.cpp @@ -33,17 +33,18 @@ bool Object::dontMove = false; bool Object::selectionInProgress = false; QRectF Object::selection; double Object::gridSpacing; +int Object::currentLayer = 0; Object::Object(): position(Vector(0, 0)), parent(0), type(OTObject), - state(OSInactive), oldState(OSInactive), needUpdate(false) + state(OSInactive), layer(0), oldState(OSInactive), needUpdate(false) //, attachedDimension(0) { } Object::Object(Vector v, Object * passedInParent/*= 0*/): position(v), - parent(passedInParent), state(OSInactive), oldState(OSInactive), + parent(passedInParent), state(OSInactive), layer(0), oldState(OSInactive), needUpdate(false)//, attachedDimension(0) { }