Fix #4060. The colour by property panel now shows the number of results in the legend.

This commit is contained in:
Dion Moult
2024-04-01 15:45:34 +11:00
parent b5d672ba42
commit 7b968030ca
4 changed files with 19 additions and 13 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ class Clasher:
def add_collision_objects(self, name, ifc_file, mode=None, selector=None):
start = time.time()
self.settings.logger.info("Creating iterator")
if not mode or not selector:
if not mode or mode == "a" or not selector:
elements = set(ifc_file.by_type("IfcElement"))
elements -= set(ifc_file.by_type("IfcFeatureElement"))
elif mode == "e":