Skip to content

Commit e8cd418

Browse files
authored
Fix first frame with RTT (#438)
Removing a redundant check that was introduced with the recursive update loop fix. This prevented the first frame of an RTT scene to render all RTT textures correctly.
2 parents be66859 + b8a99eb commit e8cd418

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/core/CoreNode.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2159,10 +2159,6 @@ export class CoreNode extends EventEmitter {
21592159
}
21602160

21612161
setRTTUpdates(type: number) {
2162-
if (this.hasRTTupdates === true) {
2163-
return;
2164-
}
2165-
21662162
this.hasRTTupdates = true;
21672163
this.parent?.setRTTUpdates(type);
21682164
}

0 commit comments

Comments
 (0)