Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scene Inventory: remove unused container attribute #643

Merged
merged 5 commits into from
Jun 12, 2024

Conversation

antirotor
Copy link
Member

Changes

name isn't used anywhere but it is hard required, causing crashes in hosts that are not having it. Also adding broad try/except to catch any invalid containers so they won't crash the whole list.

Testing

Scene inventory should list loaded stuff even without name - currently this affects Unreal as far as I know.

name isn't used anywhere but it is hard required, causing crashes in hosts that are not having it. Also adding broad try/except to catch any invalid containers so they won't crash the whole list
@antirotor antirotor self-assigned this Jun 12, 2024
@antirotor antirotor requested a review from iLLiCiTiT June 12, 2024 13:55
@antirotor antirotor added the bug label Jun 12, 2024
@ynbot ynbot added type: bug Something isn't working size/XS labels Jun 12, 2024
antirotor and others added 2 commits June 12, 2024 16:01
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
@antirotor antirotor merged commit fde3159 into develop Jun 12, 2024
3 checks passed
@antirotor antirotor deleted the bugfix/handle-invalid-item-in-scene-inventory branch June 12, 2024 14:10
containers_by_id[item.item_id] = container
container_items_by_id[item.item_id] = item
container_items.append(item)


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS type: bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants