Fix configuration warning not updating after adding an item to the library

This commit is contained in:
Marc Gilleron 2021-02-16 01:04:21 +00:00
parent 41177f1c73
commit 0a347ebf70

View File

@ -454,6 +454,7 @@ void VoxelInstancer::on_library_item_changed(int item_id, VoxelInstanceLibraryIt
ERR_FAIL_COND(item.is_null());
add_layer(item_id, item->get_lod_index());
regenerate_layer(item_id, true);
update_configuration_warning();
} break;
case VoxelInstanceLibraryItem::CHANGE_REMOVED: