Remove unused variable in viewport-host.ts
This commit is contained in:
@@ -351,8 +351,6 @@ export class ViewportHost {
|
|||||||
this.clearLocalLights();
|
this.clearLocalLights();
|
||||||
|
|
||||||
for (const entity of getEntityInstances(document.entities)) {
|
for (const entity of getEntityInstances(document.entities)) {
|
||||||
const selected = this.currentSelection.kind === "entities" && this.currentSelection.ids.includes(entity.id);
|
|
||||||
|
|
||||||
switch (entity.kind) {
|
switch (entity.kind) {
|
||||||
case "pointLight": {
|
case "pointLight": {
|
||||||
const renderObjects = this.createPointLightRuntimeObjects(entity);
|
const renderObjects = this.createPointLightRuntimeObjects(entity);
|
||||||
@@ -598,7 +596,7 @@ export class ViewportHost {
|
|||||||
group.add(light);
|
group.add(light);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
group: this.createPointLightObjects(entity)
|
group
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user