diff --git a/plugin/menu.py b/plugin/menu.py index 752f8a0..0b882c4 100644 --- a/plugin/menu.py +++ b/plugin/menu.py @@ -25,7 +25,7 @@ VISIBLE_ICON = os.path.join(ASSETS_PATH, 'visible.png') INVISIBLE_ICON = os.path.join(ASSETS_PATH, 'invisible.png') -MAX_MAP_SIZE_MB = os.environ.get('MAX_MAP_SIZE_MB', 350) +MAX_MAP_SIZE_MB = int(os.environ.get('MAX_MAP_SIZE_MB', 350)) __all__ = ['MainMenu', 'EditMeshMenu'] diff --git a/plugin/vault_menu/VaultMenu.py b/plugin/vault_menu/VaultMenu.py index fc2a59c..5d8236c 100644 --- a/plugin/vault_menu/VaultMenu.py +++ b/plugin/vault_menu/VaultMenu.py @@ -24,7 +24,7 @@ ORG_FOLDER = 'my org' -MAX_MAP_SIZE_MB = os.environ.get('MAX_MAP_SIZE_MB', 350) +MAX_MAP_SIZE_MB = int(os.environ.get('MAX_MAP_SIZE_MB', 350)) class VaultMenu: