Skip to content

Commit

Permalink
Re-instrument the boat hull, see #282
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Jul 31, 2024
1 parent e0f436e commit f7f181e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/common/model/Material.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export default class Material extends PhetioObject implements HasValueProperty {

// In essence identical to aluminum, but with a different name for the Density readout
// TODO AV: Unify the names body vs hull, see https://github.com/phetsims/density-buoyancy-common/issues/123
public static readonly BOAT_BODY = new Material( Tandem.OPT_OUT, {
public static readonly BOAT_BODY = new Material( packageJSON.name === 'buoyancy' ? SOLIDS_TANDEM.createTandem( 'boatBody' ) : Tandem.OPT_OUT, {
nameProperty: DensityBuoyancyCommonStrings.material.boatHullStringProperty,
density: Material.ALUMINUM.density
} );
Expand Down

0 comments on commit f7f181e

Please sign in to comment.