summaryrefslogtreecommitdiff
path: root/scene/3d
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2021-11-18 23:02:40 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2021-11-18 23:02:40 +0100
commit652fd9ffcc7f59ffdcc181168add26f1e8b5649d (patch)
treee6680970fcfd7322bd5b31f179bd574494e015bf /scene/3d
parentba798d585c0cda62f5388d0636ed38e63fdb13ed (diff)
Remove outdated comments related to the 20-layer editor limitation
All 32 layers are now exposed in the editor.
Diffstat (limited to 'scene/3d')
-rw-r--r--scene/3d/decal.cpp3
-rw-r--r--scene/3d/occluder_instance_3d.cpp3
2 files changed, 0 insertions, 6 deletions
diff --git a/scene/3d/decal.cpp b/scene/3d/decal.cpp
index c9f634a5e5..500bf4d8f5 100644
--- a/scene/3d/decal.cpp
+++ b/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."));
}
diff --git a/scene/3d/occluder_instance_3d.cpp b/scene/3d/occluder_instance_3d.cpp
index 6c548edc74..aeac430cd9 100644
--- a/scene/3d/occluder_instance_3d.cpp
+++ b/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."));
}