Salome HOME
Implement filter "F12: Topologically connected Faces"
[modules/shaper.git] / src / FiltersAPI / FiltersAPI_Filter.cpp
index 0e799e49eab87a8f725b29983f5bb5d960c1dacf..c39d0c7caca0577a938cd4ae065b3df47621ae98 100644 (file)
@@ -70,6 +70,12 @@ FiltersAPI_Filter::FiltersAPI_Filter(const std::string& theName,
       myFilterArguments.push_back(FiltersAPI_Argument(aString->value()));
       continue;
     }
+
+    AttributeBooleanPtr aBoolean = std::dynamic_pointer_cast<ModelAPI_AttributeBoolean>(*anArgIt);
+    if (aBoolean) {
+      myFilterArguments.push_back(FiltersAPI_Argument(aBoolean->value()));
+      continue;
+    }
   }
 }