Assembly: utils: tiny fix

This commit is contained in:
PaddleStroke
2025-07-26 11:16:28 +02:00
committed by Kacper Donat
parent ce9bc86908
commit 4f4fe019b8
+1 -3
View File
@@ -109,9 +109,7 @@ def number_of_components_in(assembly):
if not obj.isDerivedFrom("App::GeoFeature"):
continue
if obj.isDerivedFrom("App::Origin"):
# after https://github.com/FreeCAD/FreeCAD/pull/16675 merges,
# replace the App::Origin test by the one above
if obj.isDerivedFrom("App::LocalCoordinateSystem"):
continue
i = i + 1