ソースを参照

Merge pull request #55105 from Calinou/layer-20-remove-outdated-comments

Rémi Verschelde 3 年 前
コミット
fb47e30458
2 ファイル変更0 行追加6 行削除
  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."));
 	}