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

Properly clear scene tiles #79941

Merged
merged 1 commit into from
Jul 27, 2023
Merged

Conversation

KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented Jul 26, 2023

Fixes #74867

@KoBeWi KoBeWi added this to the 4.2 milestone Jul 26, 2023
@KoBeWi KoBeWi requested a review from a team as a code owner July 26, 2023 23:31
}
}

q.scenes.clear();
Copy link
Member Author

@KoBeWi KoBeWi Jul 26, 2023

Choose a reason for hiding this comment

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

q.scenes should not be cleared if the cache exists, otherwise the scenes can't be removed anymore.

Copy link
Member

@groud groud left a comment

Choose a reason for hiding this comment

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

I'll trust @KoBeWi on that one. I did not implement the scene caching system.

It will probably become obsolete once I find the time to implement the TileMap internal rework anyway, as scenes wont be grouped into a quadrant anymore.

@YuriSizov YuriSizov merged commit 1e314d5 into godotengine:master Jul 27, 2023
13 checks passed
@YuriSizov
Copy link
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TileMap Unable to Clear Scene Tiles
3 participants