diff --git a/libs/core/src/visualization.cpp b/libs/core/src/visualization.cpp index dc93305a..e6d40ede 100644 --- a/libs/core/src/visualization.cpp +++ b/libs/core/src/visualization.cpp @@ -312,7 +312,7 @@ void FeatureLayerVisualization::addFeature( try { auto result = boundEvalFun.eval_(*attrMask); - if ((result.isa(simfil::ValueType::Bool) && !result.as()) || + if ((result.isa(simfil::ValueType::Bool) && !(result.as())) || result.isa(simfil::ValueType::Undef) || result.isa(simfil::ValueType::Null)) { return true; }