-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Deleting only repeating "Scripted Variables" props #58443
Deleting only repeating "Scripted Variables" props #58443
Conversation
This is an absolute life saver! I'd just finished porting my project to 4.0 alpha 3 to find that all of my custom exports were broken and this PR fixed it. I've been using the build artifact ever since and everything seems to be working as expected even when I'm doing some weird stuff with inherited custom classes. |
19114bb
to
220c331
Compare
btw do i need to do something for a PR to get reviewed? |
No, but since there is a lot of backlog for reviewing PRs, it may take a while for this PR to be merged. Sorry for the inconvenience. |
Thanks, there is no inconvenience. |
220c331
to
f9dba44
Compare
@vnen It looks like this is something that happened apparently as a change to GDScript so I am unsure if it needs to be fixed in the inspector. Let me know when you have time to lend me a hand understanding it. |
Indeed the problem is that It is still better to not be trigger-happy with the deleting of properties and then solve the problem of them not being categorized in the proper script. |
So while investigating #63454 I've run into issues with code from #32428 as well, came to the same conclusions, and that in turn led me here. It's a very weird solution, originally, to remove everything from the This PR seems to fix #63454 and it works correctly with the issues it was set to fix, according to my limited testing. I'm going to approve it, as the code and the approach makes more sense to me than what we have right now. But I think this piece of code, the entire |
Thanks! |
I have no problem in merging this, but it should have comments of what it fixes and why because its basically a hack. |
Fixes #58239
Fixes #43491
Fixes #54410
As described in the linked issue more properties were deleted from the initial "Scripted Variables" section than needed. My changes will perserve additional properties defined in
_get_property_list
but it won't categorize them properly when a few user scripts are extended.Bugsquad edit: Also fixes #63454