View Issue Details

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

see discussion here: http://massmail.spl.harvard.edu/public-archives/slicer-devel/2013/012544.html

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->Register(this);
node->SetAttribute("UpdateDisplay", updateDisplay ? "true" : "false");

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

Activities

fedorov

fedorov

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