pharo-graphics / Roassal

The Roassal Visualization Engine
MIT License
14 stars 8 forks source link

RSComposite>>#resetChildren does not reset shapeCollection #7

Closed pavel-krivanek closed 8 months ago

pavel-krivanek commented 9 months ago

In RSComposite>>#resetChildren, the children are reset; however, the new shapeCollection stays untouched. This means the old shapes added to the composite are still stored and thus potentially displayed twice (see visibleChildren computation in RSAthensRenderer>>#visitChildrenIfNecessary:).

akevalion commented 8 months ago

done!