Skip to content

Commit

Permalink
fixed disabled material on scale gizmo (#5998)
Browse files Browse the repository at this point in the history
  • Loading branch information
kpal81xd authored Jan 26, 2024
1 parent 1cafc04 commit 4af3937
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extras/gizmo/scale-gizmo.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ class ScaleGizmo extends TransformGizmo {
axis: 'xyz',
layers: [this._layer.id],
defaultMaterial: this._materials.axis.xyz,
hoverMaterial: this._materials.hover.xyz
hoverMaterial: this._materials.hover.xyz,
disabledMaterial: this._materials.disabled.cullBack
}),
yz: new AxisPlane(this._device, {
axis: 'x',
Expand Down

0 comments on commit 4af3937

Please sign in to comment.