Skip to content

Commit

Permalink
Fix first frame with RTT (#438)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
wouterlucas authored Nov 6, 2024
2 parents be66859 + b8a99eb commit e8cd418
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/core/CoreNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2159,10 +2159,6 @@ export class CoreNode extends EventEmitter {
}

setRTTUpdates(type: number) {
if (this.hasRTTupdates === true) {
return;
}

this.hasRTTupdates = true;
this.parent?.setRTTUpdates(type);
}
Expand Down

0 comments on commit e8cd418

Please sign in to comment.