EditorRun: Load override.cfg to get window configuration for embedded mode#111847
Conversation
bruvzg
left a comment
There was a problem hiding this comment.
This probably should respect application/config/disable_project_settings_override project setting, for consistency with project running without editor.
d4dab62 to
42000e2
Compare
Done. |
|
I don't think this is the correct fix.
I want to do the same with |
That's a different use case from what I describe in #111846 though. I don't want to modify the And I don't want things to behave differently in the embedded mode and in the non-embedded mode. Using |
You can just not use feature tags in the Both cases should work. Documentation:
That's not the case for either master or this fix. My use case is also configuring window size and target display for different local clones, but by using feature tags I can simulate the published game settings (fullscreen, main display, etc.) when disabling embedded mode.
Making the window size the only setting which ignores this behavior doesn't seems correct as well. |
|
I see, so to be clear you want to support feature tag-based overrides defined in That make sense, if so that's probably a bit complex and might require creating a new Another option for your use case (if that's the only thing you use in your main project settings, so |
|
That's properties to set up a window for the running project, so why would it use |
That makes sense. I can't do it in 4.5 though.. Didn't notice that
The embeded window is part of the editor and runs as an editor plugin. The project's window is not part of the editor when not embedded and runs as standalone. This is why the feature tag trick works in the project settings (I mean specially the embedded window in floating mode) |
|
Thanks! |
|
Cherry-picked for 4.5.2. |
Fixes #111846.