-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
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
Fix invalid inheritance of OccluderInstance3D
#93354
Fix invalid inheritance of OccluderInstance3D
#93354
Conversation
Unlike the check for having a valid |
Why is this needed? I don't think OccluderInstance needs any of the behaviour of VisualInstance. For clarity, VisualInstance is the root for things that are going to get rendered in 3D. |
Why should it differ from it's actual inheritance? See: class OccluderInstance3D : public VisualInstance3D { I can change that instead if desired Note that it does override Edit: or do you mean why the class inherits from there in the first place? |
Oh wow, I didn't notice the actual inheritance was from VisualInstance. I wonder what would be less compatibility breaking, changing the GDClass or the actual inheritance |
It currently uses at least one functionality from There's nothing obviously implying |
It does indeed need to be a visual instance, it uses |
Regarding C# compat, this PR doesn't break compat for us because the new base class |
That's very true! Forgot that part, so I'll remove that aspect as it doesn't actually break compatibility in any real way I'd say |
Thanks! |
Thank you! |
Unsure what the proper procedure is here, and what issues might have come from the current code, but this is a pretty glaring issue at hand here
Marking as compatibility breaking, even though it's just aligning the types to what they are supposed to be