Răsfoiți Sursa

Remove outdated comments related to the 20-layer editor limitation

All 32 layers are now exposed in the editor.
Hugo Locurcio 3 ani în urmă
părinte
comite
652fd9ffcc
2 a modificat fișierele cu 0 adăugiri și 6 ștergeri
  1. 0 3
      scene/3d/decal.cpp
  2. 0 3
      scene/3d/occluder_instance_3d.cpp

+ 0 - 3
scene/3d/decal.cpp

@@ -175,9 +175,6 @@ TypedArray<String> Decal::get_configuration_warnings() const {
 	}
 
 	if (cull_mask == 0) {
-		// NOTE: This warning will not be emitted if none of the 20 checkboxes
-		// exposed in the editor are checked. This is because there are
-		// currently 12 unexposed layers in the editor inspector.
 		warnings.push_back(TTR("The decal's Cull Mask has no bits enabled, which means the decal will not paint objects on any layer.\nTo resolve this, enable at least one bit in the Cull Mask property."));
 	}
 

+ 0 - 3
scene/3d/occluder_instance_3d.cpp

@@ -329,9 +329,6 @@ TypedArray<String> OccluderInstance3D::get_configuration_warnings() const {
 	}
 
 	if (bake_mask == 0) {
-		// NOTE: This warning will not be emitted if none of the 20 checkboxes
-		// exposed in the editor are checked. This is because there are
-		// currently 12 unexposed layers in the editor inspector.
 		warnings.push_back(TTR("The Bake Mask has no bits enabled, which means baking will not produce any occluder meshes for this OccluderInstance3D.\nTo resolve this, enable at least one bit in the Bake Mask property."));
 	}