From 784c23ade4eff8eaeebd52bfdec21f84ed3e2879 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=90=89=E6=9E=97?= <798080536@qq.com> Date: Thu, 8 Dec 2022 22:24:02 +0800 Subject: [PATCH] revert onLoad modification (#13759) --- cocos/gi/light-probe/light-probe-group.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/gi/light-probe/light-probe-group.ts b/cocos/gi/light-probe/light-probe-group.ts index a3d2ed41e9..bfe8ab9356 100644 --- a/cocos/gi/light-probe/light-probe-group.ts +++ b/cocos/gi/light-probe/light-probe-group.ts @@ -169,7 +169,7 @@ export class LightProbeGroup extends Component { const changed = this.node.scene.globals.lightProbeInfo.addNode(this.node); if (changed) { - this.onProbeChanged(); + this.node.scene.globals.lightProbeInfo.syncData(this.node, this.probes); } }