Permalink
Browse files

BUG 1536. Request renderer even if it's in the scene batch process

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21412 3bd1e089-480b-0410-8dfb-8563597acbee
  • Loading branch information...
1 parent 9f71eff commit 838eb2241f1bdfb77856a1c0dea9d75deaec1882 alexy committed Nov 14, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 Libs/MRML/DisplayableManager/vtkMRMLModelSliceDisplayableManager.cxx
@@ -566,10 +566,11 @@ ::OnMRMLSceneNodeAdded(vtkMRMLNode* node)
return;
}
+ this->SetUpdateFromMRMLRequested(1);
+
// Escape if the scene a scene is being closed, imported or connected
if (this->GetMRMLScene()->IsBatchProcessing())
{
- this->SetUpdateFromMRMLRequested(1);
return;
}

0 comments on commit 838eb22

Please sign in to comment.