-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:
Juan Linietsky
2018-09-28 20:32:40 -03:00
parent 4db2db2d6b
commit c83742ba86
19 changed files with 295 additions and 59 deletions

View File

@ -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;
}