Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F737
0001-set-static-bool-variable-to-false-before-notifying-t.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
saruji
Oct 12 2011, 4:42 PM
2011-10-12 16:42:24 (UTC+2)
Size
991 B
Referenced Files
None
Subscribers
None
0001-set-static-bool-variable-to-false-before-notifying-t.patch
View Options
From 0625dabc35ddf435a15c7db2b5404bcc893cbfb6 Mon Sep 17 00:00:00 2001
From: Danial Saruji <d.saruji@mint-medical.de>
Date: Wed, 12 Oct 2011 16:45:26 +0200
Subject: [PATCH] set static bool variable to false before notifying the other
objects
---
Core/Code/DataManagement/mitkDisplayGeometry.cpp | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/Core/Code/DataManagement/mitkDisplayGeometry.cpp b/Core/Code/DataManagement/mitkDisplayGeometry.cpp
index c7a302b..b2e0939 100644
--- a/Core/Code/DataManagement/mitkDisplayGeometry.cpp
+++ b/Core/Code/DataManagement/mitkDisplayGeometry.cpp
@@ -587,19 +587,18 @@ if ( zoomXtooSmall && zoomYtooSmall )
}
-
if (correctPanning)
{
SetOriginInMM( newOrigin );
}
+ inRecalculate = false;
+
if ( correctPanning || correctZooming )
{
Modified();
}
- inRecalculate = false;
-
// return true if any correction has been made
return correctPanning || correctZooming;
}
--
1.7.0.4
File Metadata
Details
Attached
Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
709
Default Alt Text
0001-set-static-bool-variable-to-false-before-notifying-t.patch (991 B)
Attached To
Mode
T9721: RefitVisibleRect doesn't work properly with multiple mitkDisplayGeometries
Attached
Detach File
Event Timeline
saruji
added a comment.
Oct 12 2011, 4:42 PM
2011-10-12 16:42:24 (UTC+2)
Comment Actions
proposed solution
Log In to Comment