Browse Source

Fix showing modguis

tags/1.9.7
falkTX 9 years ago
parent
commit
44f397ae56
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      source/carla_modgui.py

+ 4
- 2
source/carla_modgui.py View File

@@ -629,15 +629,17 @@ if __name__ == '__main__':
print("usage: %s <plugin-uri>" % sys.argv[0]) print("usage: %s <plugin-uri>" % sys.argv[0])
sys.exit(1) sys.exit(1)


libPrefix = os.getenv("CARLA_LIB_PREFIX")

# ------------------------------------------------------------- # -------------------------------------------------------------
# App initialization # App initialization


app = CarlaApplication("Carla2-MODGUI")
app = CarlaApplication("Carla2-MODGUI", libPrefix)


# ------------------------------------------------------------- # -------------------------------------------------------------
# Init utils # Init utils


pathBinaries, pathResources = getPaths()
pathBinaries, pathResources = getPaths(libPrefix)


utilsname = "libcarla_utils.%s" % (DLL_EXTENSION) utilsname = "libcarla_utils.%s" % (DLL_EXTENSION)




Loading…
Cancel
Save