Cache simulation interactable enabled state on viewport host
This commit is contained in:
@@ -1091,6 +1091,7 @@ export class ViewportHost {
|
|||||||
);
|
);
|
||||||
this.simulationSceneIdentityMismatchWarned = false;
|
this.simulationSceneIdentityMismatchWarned = false;
|
||||||
this.simulationInteractableEnabledById.clear();
|
this.simulationInteractableEnabledById.clear();
|
||||||
|
this.cacheSimulationInteractableEnabledState(runtimeScene);
|
||||||
this.applyWorld();
|
this.applyWorld();
|
||||||
|
|
||||||
if (this.currentDocument === null) {
|
if (this.currentDocument === null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user