summaryrefslogtreecommitdiff
path: root/scene/resources/environment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/environment.cpp')
-rw-r--r--scene/resources/environment.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/scene/resources/environment.cpp b/scene/resources/environment.cpp
index 8b4656414d..757be51017 100644
--- a/scene/resources/environment.cpp
+++ b/scene/resources/environment.cpp
@@ -1108,13 +1108,6 @@ void Environment::_validate_property(PropertyInfo &p_property) const {
};
- static const char *high_end_prefixes[] = {
- "ssr_",
- "ssao_",
- nullptr
-
- };
-
const char **prefixes = hide_prefixes;
while (*prefixes) {
String prefix = String(*prefixes);
@@ -1127,20 +1120,6 @@ void Environment::_validate_property(PropertyInfo &p_property) const {
prefixes++;
}
-
- if (RenderingServer::get_singleton()->is_low_end()) {
- prefixes = high_end_prefixes;
- while (*prefixes) {
- String prefix = String(*prefixes);
-
- if (p_property.name.begins_with(prefix)) {
- p_property.usage = PROPERTY_USAGE_NO_EDITOR;
- return;
- }
-
- prefixes++;
- }
- }
}
#ifndef DISABLE_DEPRECATED