Increment frame version when emitting frame without full scene data
This commit is contained in:
@@ -349,6 +349,9 @@ export class EditorSimulationController {
|
|||||||
|
|
||||||
private syncRuntimeSceneToCurrentClock() {
|
private syncRuntimeSceneToCurrentClock() {
|
||||||
if (this.runtimeScene === null || this.currentClock === null) {
|
if (this.runtimeScene === null || this.currentClock === null) {
|
||||||
|
if (this.currentClock !== null) {
|
||||||
|
this.frameVersion += 1;
|
||||||
|
}
|
||||||
this.emitFrame();
|
this.emitFrame();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user