phetsims / circuit-construction-kit-common

"Circuit Construction Kit: Basics" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
10 stars 10 forks source link

Dragging out a regular battery then a high voltage battery fails #817

Closed samreid closed 2 years ago

samreid commented 2 years ago

Discovered during https://github.com/phetsims/circuit-construction-kit-common/issues/797, we get this error:

Assertion failed: phetioID already registered: circuitConstructionKitDc.labScreen.view.circuitNode.batteryNodeGroup.batteryNode_0

samreid commented 2 years ago

@arouinfar and I saw this problem again today. We think the view groups need to be separated like the model groups are.

samreid commented 2 years ago

Fixed, closing.