summaryrefslogtreecommitdiff
path: root/scene/3d
diff options
context:
space:
mode:
authorRedMser <redmser.jj2@gmail.com>2022-08-18 16:11:25 +0200
committerRedMser <redmser.jj2@gmail.com>2022-08-18 16:24:15 +0200
commit83f27238930858efdecc8dbfd92b701d04a7d986 (patch)
tree9dab90374b590b7a59f443dfc13377247b5e8942 /scene/3d
parentdbd15243621ec595742b18abc4c26f3cb2e00f3d (diff)
Fix some property validation not been refactored
Diffstat (limited to 'scene/3d')
-rw-r--r--scene/3d/reflection_probe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/reflection_probe.cpp b/scene/3d/reflection_probe.cpp
index 0a9d6cbbeb..0058dcd490 100644
--- a/scene/3d/reflection_probe.cpp
+++ b/scene/3d/reflection_probe.cpp
@@ -179,7 +179,7 @@ AABB ReflectionProbe::get_aabb() const {
}
void ReflectionProbe::_validate_property(PropertyInfo &property) const {
- if (property.name == "interior/ambient_color" || property.name == "interior/ambient_color_energy") {
+ if (property.name == "ambient_color" || property.name == "ambient_color_energy") {
if (ambient_mode != AMBIENT_COLOR) {
property.usage = PROPERTY_USAGE_NO_EDITOR | PROPERTY_USAGE_INTERNAL;
}