std::ostringstream oss;
selectFieldComponent();
+ // The component has changed, we need to rescale the scalar bar to adapt:
+ rescaleTransferFunction();
pushAndExecPyLine("pvs.Render();");
}
-
}
template<typename PresentationType, typename PresentationParameters>
STDLOG("Removing pres " << (*lstModule)[i] << " from OB.");
// Presentation in module but not in manager anymore: to be deleted from OB:
updateTreeViewForPresentationRemoval((*lstModule)[i]);
+ onPresentationSelected(-1, "", ""); // make sure param widget is hidden
}
}
}