-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
[Scene] Add SceneStringName::hover
#100036
Conversation
I think it'd be good to establish some kind of limit where this is considered relevant Did you have some limit when cleaning out some cases @KoBeWi? |
The difference between these two macros still rather puzzles me, at least some comments would be nice. |
|
I deleted names if they were used once or twice, so anything above would qualify. But it's different with adding new names. Technically adding new SceneStringNames has no downsides, but the more we have them, the more difficult is to keep track of them, which might eventually lead to inconsistencies like we had before. And opting for using a SceneStringName for everything is not very convenient. #99984 makes it easier to add new names, but it still requires major recompiling of the engine.
They also prevent typos. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So as I said, we could technically add SceneStringName for everything, but that's lots of effort and not really worth it that much. If you went ahead and created another one then why not.
To keep consistency, we could create a script that detects missing usages of existing SceneStringNames. I think I had one when I was doing my cleanup🤔
Just an internal enhancement.