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

Implement clear method for ui.scene #1327

Merged
merged 1 commit into from
Aug 4, 2023
Merged

Implement clear method for ui.scene #1327

merged 1 commit into from
Aug 4, 2023

Conversation

falkoschindler
Copy link
Contributor

Discussions #803 and #1246 asked for a way to clear a 3D scene. The clear() method inherited from ui.element only cleared child elements, but not 3D objects.

This PR overrides clear() to also delete each object.

@falkoschindler falkoschindler self-assigned this Aug 3, 2023
@falkoschindler falkoschindler added the enhancement New feature or request label Aug 3, 2023
@falkoschindler falkoschindler added this to the 1.3.8 milestone Aug 3, 2023
@rodja rodja merged commit 3845d46 into main Aug 4, 2023
1 of 5 checks passed
@rodja rodja deleted the clerar-scene branch August 4, 2023 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants