Ver código fonte

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 meses atrás
pai
commit
f2d733d48d
1 arquivos alterados com 1 adições e 0 exclusões
  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;
 	probe_data = p_data;
+	update_configuration_warnings();
 }
 }
 
 
 Ref<VoxelGIData> VoxelGI::get_probe_data() const {
 Ref<VoxelGIData> VoxelGI::get_probe_data() const {