-Lightmap and lightmap capture support for GLES2
-Added hint to not show some properties when running on low end gfx
This commit is contained in:
@ -1449,6 +1449,9 @@ void EditorInspector::update_tree() {
|
||||
} else if (!(p.usage & PROPERTY_USAGE_EDITOR))
|
||||
continue;
|
||||
|
||||
if (p.usage & PROPERTY_USAGE_HIGH_END_GFX && VS::get_singleton()->is_low_end())
|
||||
continue; //do not show this property in low end gfx
|
||||
|
||||
if (p.name == "script" && (hide_script || bool(object->call("_hide_script_from_inspector")))) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user