From 72633129f56262333906dc667962fab7c5afc4c1 Mon Sep 17 00:00:00 2001 From: Tim Dwyer Date: Wed, 25 Jan 2006 02:01:23 +0000 Subject: Change to the way timestamps are used. Should now be more efficient. (bzr r27) --- src/removeoverlap/block.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/removeoverlap/block.cpp') diff --git a/src/removeoverlap/block.cpp b/src/removeoverlap/block.cpp index 799fa5d8e..32b310153 100644 --- a/src/removeoverlap/block.cpp +++ b/src/removeoverlap/block.cpp @@ -129,14 +129,12 @@ Constraint *Block::findMinInConstraint() { #ifdef RECTANGLE_OVERLAP_LOGGING f<<" ... skipping internal constraint"<timeStamp > rb->timeStamp - && v->timeStamp < lb->timeStamp - || v->timeStamp < rb->timeStamp) { + } else if(v->timeStamp < lb->timeStamp) { // block at other end of constraint has been moved since this in->deleteMin(); outOfDate.push_back(v); #ifdef RECTANGLE_OVERLAP_LOGGING - f<<" reinserting out of date constraint"<