diff --git a/src/AIS/AIS_ColoredShape.cxx b/src/AIS/AIS_ColoredShape.cxx index 627db72633..d271691087 100644 --- a/src/AIS/AIS_ColoredShape.cxx +++ b/src/AIS/AIS_ColoredShape.cxx @@ -58,7 +58,7 @@ namespace if (aShape.ShapeType() == TopAbs_COMPOUND && theMap.Add (aShape)) { - collectSubCompounds (theMap, theShape); + collectSubCompounds (theMap, aShape); } } }