浏览代码

Fix stale VoxelGI warnings.

Easy 1 line fix, just need to call update_configuration_warnings()
any time fields related to our warning concerns get changed. In
this case it's we just need to be concerned about calling this
whenever the voxel data field changes for any reason.
Max Piepenbrink 8 月之前
父节点
当前提交
f2d733d48d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      scene/3d/voxel_gi.cpp

+ 1 - 0
scene/3d/voxel_gi.cpp

@@ -275,6 +275,7 @@ void VoxelGI::set_probe_data(const Ref<VoxelGIData> &p_data) {
 	}
 
 	probe_data = p_data;
+	update_configuration_warnings();
 }
 
 Ref<VoxelGIData> VoxelGI::get_probe_data() const {