[commit] r1470 - trunk/GME/Gme

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Fri Aug 5 15:53:00 CDT 2011


Author: ksmyth
Date: Fri Aug  5 15:53:00 2011
New Revision: 1470

Log:
If children of an instance model overlap, make them not overlap, but dont write the position to the part. Positions on children of instances should not be set

Modified:
   trunk/GME/Gme/GMEView.cpp

Modified: trunk/GME/Gme/GMEView.cpp
==============================================================================
--- trunk/GME/Gme/GMEView.cpp	Fri Aug  5 15:51:42 2011	(r1469)
+++ trunk/GME/Gme/GMEView.cpp	Fri Aug  5 15:53:00 2011	(r1470)
@@ -3914,7 +3914,7 @@
 				return;
 			}
 			// obj->SetCenter(pt);
-			if (!executingPendingRequests) {
+			if (!executingPendingRequests && !IsInstance()) {
 				CPendingObjectPosRequest *req = new CPendingObjectPosRequest(obj, pt, obj->GetLocation(), obj->GetParentAspect());
 				pendingRequests.AddHead(req);
 				postPendingRequestEvent = true;


More information about the gme-commit mailing list