Skip to content

Commit

Permalink
Fix botanical tiny potato display elements not being invisible (#171)
Browse files Browse the repository at this point in the history
Fixes #166
  • Loading branch information
haykam821 authored Mar 12, 2024
1 parent e78d9cc commit ac8e0ae
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,16 @@ private class Model extends ElementHolder {

this.upPart.setModelTransformation(ModelTransformationMode.FIXED);
this.downPart.setModelTransformation(ModelTransformationMode.FIXED);

this.upPart.setInterpolationDuration(1);
this.downPart.setInterpolationDuration(1);

this.upPart.setInvisible(true);
this.downPart.setInvisible(true);

this.state = state;
this.updateAnimation();

this.addElement(this.upPart);
this.addElement(this.downPart);
}
Expand Down

0 comments on commit ac8e0ae

Please sign in to comment.