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

ArrayMesh: check if surface count changed before notify_property_list… #102225

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

beicause
Copy link
Contributor

@beicause beicause commented Jan 31, 2025

Fixes #102201, fixes #92348. An alternative to #92374.
The property list of ArrayMesh only changes when the surface count changes, so this PR adds the check before notify_property_list_changed() and moves it to idle time.

@beicause
Copy link
Contributor Author

This makes the property_list_changed signal of ArrayMesh not triggered immediately, but I believe this signal is not commonly used in games.

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