allow missing translations.py as not everyone will need translations for BBIM

This commit is contained in:
Andrej730
2024-01-17 12:07:02 +05:00
parent ba6ba29da8
commit 98b56aea42
+4 -1
View File
@@ -22,9 +22,12 @@ import bpy
import bpy.utils.previews
import blenderbim
import importlib
from blenderbim.translations import translations_dict
from . import handler, ui, prop, operator, helper
try:
from blenderbim.translations import translations_dict
except ImportError:
translations_dict = {}
cwd = os.path.dirname(os.path.realpath(__file__))
modules = {