fix(viewer-lib): Handles WEB-4509: Isolating without ghosting on instanced objects
This commit is contained in:
@@ -380,13 +380,9 @@ export class InstancedMeshBatch implements Batch {
|
||||
}
|
||||
|
||||
private shuffleDrawGroups(): void {
|
||||
const groups = this.groups
|
||||
.sort((a, b) => {
|
||||
return a.start - b.start
|
||||
})
|
||||
.slice()
|
||||
const groups = this.groups.slice()
|
||||
|
||||
this.groups.sort((a, b) => {
|
||||
groups.sort((a, b) => {
|
||||
const materialA: Material = this.materials[a.materialIndex]
|
||||
const materialB: Material = this.materials[b.materialIndex]
|
||||
const visibleOrder =
|
||||
|
||||
Reference in New Issue
Block a user