Skip to content

Fix settings loading mismatch between the plugin list and config dialog.#2050

Open
kramlie wants to merge 1 commit into
falkTX:mainfrom
kramlie:loading_mismatch
Open

Fix settings loading mismatch between the plugin list and config dialog.#2050
kramlie wants to merge 1 commit into
falkTX:mainfrom
kramlie:loading_mismatch

Conversation

@kramlie

@kramlie kramlie commented May 5, 2026

Copy link
Copy Markdown
Contributor

The loadSettings function in carla_host.py was not loading settings using the same logic as the config dialog, which means that in case of running as a plugin, some settings, such as plugin paths, had no effect on the plugins listed in the plugin selection dialog.

This had some weird effects such as: If you loaded a plugin from some standard location, then moved the plugin to a nonstandard location and updated the path in the config, the project containing that plugin could still be loaded, despite the plugin not existing in the plugin list! Again, this is because the loading and the listing used different logic to load the path settings.

The `loadSettings` function in carla_host.py was not loading settings
using the same logic as the config dialog, which means that in case of
running as a plugin, some settings, such as plugin paths, had no
effect on the plugins listed in the plugin selection dialog.

This had some weird effects such as: If you loaded a plugin from some
standard location, then moved the plugin to a nonstandard location and
updated the path in the config, the project containing that plugin
could still be loaded, despite the plugin not existing in the plugin
list! Again, this is because the loading and the listing used
different logic to load the path settings.

Signed-off-by: Kristian Amlie <kristian@amlie.name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant