Make InputEvent subclasses' to_string() respect overrides from scripts and GDExtension#110993
Make InputEvent subclasses' to_string() respect overrides from scripts and GDExtension#110993chocola-mint wants to merge 1 commit intogodotengine:masterfrom
InputEvent subclasses' to_string() respect overrides from scripts and GDExtension#110993Conversation
…ript and GDExtension
764e1bc to
e6f827f
Compare
InputEventAction.to_string() respect overrides from scripts and GDExtensionInputEvent subclasses' to_string() respect overrides from scripts and GDExtension
|
Sorry, but I just realized that this is basically a duplicate of #94047 That PR has a slightly bigger scope (overridding If the other PR's solution is preferred, I'll close this one. |
|
Thanks!
Ah, after reading your PR, I was going to suggest exactly the approach taken in #94047 of having a non-virtual Let's try to help the other one move forward. If you have time to do any review or testing of it, that would be appreciated! |
|
Closing to concentrate efforts on #94047 |
Fixes #110338
I've also taken this opportunity to add a new method
Object::_try_get_override_to_string()so the same implementation can be used byNode::to_string(),Object::to_string().For consistency within the same file, other
InputActionsubclasses also have the issue mentioned above fixed.