Skip to content

Commit

Permalink
Renamed BasitMode to ColorsMode
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandruPopovici committed Dec 12, 2024
1 parent 736b602 commit c16728a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/viewer-sandbox/src/Extensions/ViewModesKeys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class ViewModesKeys extends Extension {
viewModes.setViewMode(ViewMode.ARCTIC)
break
case '6':
viewModes.setViewMode(ViewMode.BASIT)
viewModes.setViewMode(ViewMode.COLORS)
break
}
})
Expand Down
1 change: 0 additions & 1 deletion packages/viewer-sandbox/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
import './style.css'
import Sandbox from './Sandbox'
import {
SelectionExtension,
MeasurementsExtension,
ExplodeExtension,
DiffExtension,
Expand Down
4 changes: 2 additions & 2 deletions packages/viewer/src/modules/extensions/ViewModes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export enum ViewMode {
SHADED,
PEN,
ARCTIC,
BASIT
COLORS
}

export class ViewModes extends Extension {
Expand Down Expand Up @@ -48,7 +48,7 @@ export class ViewModes extends Extension {
case ViewMode.ARCTIC:
renderer.pipeline = new ArcticViewPipeline(renderer)
break
case ViewMode.BASIT:
case ViewMode.COLORS:
renderer.pipeline = new BasitPipeline(renderer, this.viewer.getWorldTree())
break
}
Expand Down

0 comments on commit c16728a

Please sign in to comment.