mirror of
https://github.com/godotengine/godot.git
synced 2024-11-26 22:23:04 +00:00
Merge pull request #63416 from V-Sekai/bone-map-empty-crash
Avoid crash when when the editor_property_map is empty.
This commit is contained in:
commit
145304cc85
@ -3558,7 +3558,7 @@ void EditorInspector::_notification(int p_what) {
|
||||
if (refresh_countdown <= 0) {
|
||||
for (const KeyValue<StringName, List<EditorProperty *>> &F : editor_property_map) {
|
||||
for (EditorProperty *E : F.value) {
|
||||
if (!E->is_cache_valid()) {
|
||||
if (E && !E->is_cache_valid()) {
|
||||
E->update_property();
|
||||
E->update_revert_and_pin_status();
|
||||
E->update_cache();
|
||||
|
Loading…
Reference in New Issue
Block a user