while( aNextIter != myResults.end()) {
aGroup = (*aNextIter)->groupName();
// remove previously erased results: to enable later if needed only actual (of history change)
- if (theSinceIndex == 0 && (*aNextIter)->isDisabled()) {
- aNextIter = myResults.erase(aNextIter);
- } else {
+ //if (theSinceIndex == 0 && (*aNextIter)->isDisabled()) {
+ // aNextIter = myResults.erase(aNextIter);
+ //} else {
(*aNextIter)->setDisabled(*aNextIter, true); // just disable results
aNextIter++;
- }
+ //}
}
if (!aGroup.empty() && theFlush) {
// flush visualisation changes
return false;
}
-bool ModelAPI_Feature::isDisabled() const
+bool ModelAPI_Feature::isDisabled()
{
return myIsDisabled;
}
{
return true;
}
+
+void ModelAPI_Feature::init()
+{
+ myIsDisabled = false;
+}