Skip to content

Commit

Permalink
Remove uninstrumented gravity values on density and buoyancy-basics, …
Browse files Browse the repository at this point in the history
…see #307
  • Loading branch information
samreid committed Aug 2, 2024
1 parent 6a218e9 commit a7a1116
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/common/model/DensityBuoyancyModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ export default class DensityBuoyancyModel implements TModel {
Gravity.JUPITER,
customGravity,
Gravity.PLANET_X
], {

// Only take the values instrumented for the current sim. See Gravity.ts for what is instrumented on each screen.
].filter( gravity => gravity.isPhetioInstrumented() ), {
valueType: Gravity,
phetioValueType: ReferenceIO( IOType.ObjectIO ),
tandem: gravityPropertyTandem,
Expand Down

0 comments on commit a7a1116

Please sign in to comment.