Skip to content

Fix rightBeforeLoadingScene method overloading#585

Merged
fredroy merged 3 commits intosofa-framework:masterfrom
alxbilger:rightBeforeLoadingScene
Mar 19, 2026
Merged

Fix rightBeforeLoadingScene method overloading#585
fredroy merged 3 commits intosofa-framework:masterfrom
alxbilger:rightBeforeLoadingScene

Conversation

@alxbilger
Copy link
Contributor

A code smell.

SceneLoaderListerner derives from SceneLoader::Listener. The class SceneLoader::Listener has a method rightBeforeLoadingScene accepting a SceneLoader*. But SceneLoaderListerner does not overload it. Instead, it define another method rightBeforeLoadingScene with a different signature. Even if it is intentional, I did not find any call of this signature. So my guess is a wrong overriding of the base method.

However, now that it's properly implemented, I don't know the effects of this call...

Loading
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.

5 participants