From 715511f15e5a8016f80afeff724005ecc377cbb3 Mon Sep 17 00:00:00 2001 From: tfmoraes Date: Fri, 5 Mar 2010 19:12:42 +0000 Subject: [PATCH] FIX: Sending a render to update after hidding a measure --- invesalius/data/measures.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/invesalius/data/measures.py b/invesalius/data/measures.py index 8402891..9e2a9ce 100644 --- a/invesalius/data/measures.py +++ b/invesalius/data/measures.py @@ -114,7 +114,10 @@ class MeasurementManager(object): m, mr = self.measures[index] m.is_shown = visibility mr.SetVisibility(visibility) - ps.Publisher().sendMessage('Update slice viewer') + if m.location == const.SURFACE: + ps.Publisher().sendMessage('Render volume viewer') + else: + ps.Publisher().sendMessage('Update slice viewer') class Measurement(): -- libgit2 0.21.2