Remove outdated comments related to the 20-layer editor limitation

All 32 layers are now exposed in the editor.
This commit is contained in:
Hugo Locurcio 2021-11-18 23:02:40 +01:00
parent ba798d585c
commit 652fd9ffcc
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
2 changed files with 0 additions and 6 deletions

View File

@ -175,9 +175,6 @@ TypedArray<String> Decal::get_configuration_warnings() const {
} }
if (cull_mask == 0) { 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.")); 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."));
} }

View File

@ -329,9 +329,6 @@ TypedArray<String> OccluderInstance3D::get_configuration_warnings() const {
} }
if (bake_mask == 0) { 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.")); 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."));
} }