View Issue Details

IDProjectCategoryView StatusLast Update
0003127Slicer4Core: CLI infrastructurepublic2013-05-23 11:37
ReporterfedorovAssigned Tomillerjv 
Status assignedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0003127: Make reset of the volume selector after CLI execution optional

see discussion here:

Suggestion on implementation from J2:

I agree that it can be disturbing in some use cases (but is handy in some other use cases).

If you want to add such control, I would suggest to do the following:

Hack to disable this feature:

--- a/Base/QTCLI/vtkSlicerCLIModuleLogic.cxx
+++ b/Base/QTCLI/vtkSlicerCLIModuleLogic.cxx
@@ -496,7 +496,9 @@ void vtkSlicerCLIModuleLogic::Apply ( vtkMRMLCommandLineModuleNode* node, bool u
// reference count on the node, we'll decrease the reference count
// once the task actually runs
node->SetAttribute("UpdateDisplay", updateDisplay ? "true" : "false");

  • node->SetAttribute("UpdateDisplay", "false");
TagsNo tags attached.




2013-05-23 11:37

developer   ~0008669

Might be better to add this as an option to AutoUpdate dropbox in the module panel

Issue History

Date Modified Username Field Change
2013-05-23 11:28 fedorov New Issue
2013-05-23 11:28 fedorov Status new => assigned
2013-05-23 11:28 fedorov Assigned To => millerjv
2013-05-23 11:37 fedorov Note Added: 0008669