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

Track script property favorites by UID instead of path #99370

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

Conversation

KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented Nov 17, 2024

Follow up to #97415 and #97352
Makes favorites of script properties stored as UID instead of script path, allowing to remove the code that updates paths.

Comment on lines -4291 to +4295
for (int i = 0; i < favorites[path].size(); i++) {
String prop = favorites[path][i];
PackedStringArray &favors = favorites[path];

for (int i = 0; i < favors.size(); i++) {
String prop = favors[i];
Copy link
Member Author

Choose a reason for hiding this comment

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

Extra refactor.

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.

1 participant