Skip to content

Commit

Permalink
fix light probe group not 'lightProbeInfo.update' after 'lightProbeIn…
Browse files Browse the repository at this point in the history
…fo.syncData'
  • Loading branch information
knoxHuang committed Nov 29, 2023
1 parent 3c6a6fb commit 56f04fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cocos/gi/light-probe/light-probe-group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ export class LightProbeGroup extends Component {
const changed = this.node.scene.globals.lightProbeInfo.addNode(this.node);
if (changed) {
this.node.scene.globals.lightProbeInfo.syncData(this.node, this.probes);
this.node.scene.globals.lightProbeInfo.update(true);
}
}

Expand Down

0 comments on commit 56f04fe

Please sign in to comment.