-
Notifications
You must be signed in to change notification settings - Fork 155
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
switching mod needs restart #586
Comments
Something like calling QE_Init() https://github.com/TTimo/GtkRadiant/blob/master/radiant/qe3.cpp#L892 in DoProjectSettings() https://github.com/TTimo/GtkRadiant/blob/master/radiant/gtkdlgs.cpp#L913 should do it, but it is not safe to call QE_Init, is it? |
I've tested and yes it's not safe: for example imagine your base game is named |
A very ugly but very safe way would be to get radiant quitting and reloading itself entirely. But for that we need to add command line parameters to open map and select game. Note that this dirty trick would also allow us to do some convenient stuff like swaping the game. |
When I select a mod in File > Project settings, I have to close and restart GtkRadiant to get the change applied.
It's easy to reproduce, even if you click Textures > Flush & Reload Shaders the shaders from the mod are not displayed in texture browser until GtkRadiant is restarted, and there is nothing related to the mod in the console until GtkRadiant is restarted.
The text was updated successfully, but these errors were encountered: