From 44f397ae5665d057ba4b4699808dbc52848e779b Mon Sep 17 00:00:00 2001 From: falkTX Date: Thu, 2 Jul 2015 15:33:22 +0200 Subject: [PATCH] Fix showing modguis --- source/carla_modgui.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/carla_modgui.py b/source/carla_modgui.py index 95f7ae4a6..bf55edf15 100755 --- a/source/carla_modgui.py +++ b/source/carla_modgui.py @@ -629,15 +629,17 @@ if __name__ == '__main__': print("usage: %s " % sys.argv[0]) sys.exit(1) + libPrefix = os.getenv("CARLA_LIB_PREFIX") + # ------------------------------------------------------------- # App initialization - app = CarlaApplication("Carla2-MODGUI") + app = CarlaApplication("Carla2-MODGUI", libPrefix) # ------------------------------------------------------------- # Init utils - pathBinaries, pathResources = getPaths() + pathBinaries, pathResources = getPaths(libPrefix) utilsname = "libcarla_utils.%s" % (DLL_EXTENSION)