diff --git a/__init__.py b/__init__.py index e07383b..a31d7dd 100644 --- a/__init__.py +++ b/__init__.py @@ -2,7 +2,7 @@ bl_info = { "name": "Import: KLE Raw JSON format (.json)", "author": "/u/kdem007 /u/jacopods", - "version": (2, 3), + "version": (2, 4), "blender": (2, 79, 0), "location": "File > Import-Export > Keyboard Layout Editor Raw (.json) ", "description": "Import Keyboard Layouts", diff --git a/import_keyboard.py b/import_keyboard.py index c105c3b..6fb742c 100644 --- a/import_keyboard.py +++ b/import_keyboard.py @@ -273,6 +273,8 @@ def getKey(filePath): # if rowData has property set then add it to key if "c" in rowData: key["c"] = rowData["c"] + else: + key["c"] = "#cccccc" if "t" in rowData: key["t"] = rowData["t"] else: