Selaa lähdekoodia

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 kuukautta sitten
vanhempi
commit
f2d733d48d
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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 {