diff options
author | kobewi <kobewi4e@gmail.com> | 2024-03-07 17:45:13 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2024-03-07 18:01:30 +0100 |
commit | 7319b612f3512b5077279c51230b48b56622c564 (patch) | |
tree | 7889d55102be9e53a6d0fee270703542aadfc9c1 /editor/editor_inspector.cpp | |
parent | aef11a14274f6f9e74ad91ead1d7c07ea1dd7f5f (diff) | |
download | redot-engine-7319b612f3512b5077279c51230b48b56622c564.tar.gz |
Speed up inspector updates for TileMap
Diffstat (limited to 'editor/editor_inspector.cpp')
-rw-r--r-- | editor/editor_inspector.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp index 83a7e115c9..a14c6e8462 100644 --- a/editor/editor_inspector.cpp +++ b/editor/editor_inspector.cpp @@ -2009,6 +2009,10 @@ Array EditorInspectorArray::_extract_properties_as_array(const List<PropertyInfo Array output; for (const PropertyInfo &pi : p_list) { + if (!(pi.usage & PROPERTY_USAGE_EDITOR)) { + continue; + } + if (pi.name.begins_with(array_element_prefix)) { String str = pi.name.trim_prefix(array_element_prefix); |