Skip to content

Commit

Permalink
Fix scene dirty after ReflectionProbe Bake.
Browse files Browse the repository at this point in the history
  • Loading branch information
knoxHuang committed Dec 18, 2023
1 parent 19c19c5 commit 9b143d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cocos/3d/reflection-probe/reflection-probe-component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,8 @@ export class ReflectionProbe extends Component {
this.probe.cubemap = val;
ReflectionProbeManager.probeManager.onUpdateProbes();
}

@type(TextureCube)
@visible(false)
get cubemap (): TextureCube | null {
return this._cubemap;
}
Expand Down

0 comments on commit 9b143d5

Please sign in to comment.