Fixing small issue with Logic

pull/135/head
Torrin Leonard 2022-06-11 08:48:09 -04:00
rodzic 50b869fe09
commit 472d942b9f
2 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -1,15 +1,15 @@
bl_info = { bl_info = {
"name": "Blend_My_NFTs", "name": "Blend_My_NFTs",
"author": "Torrin Leonard, This Cozy Studio Inc", "author": "Torrin Leonard, This Cozy Studio Inc",
"version": (4, 2, 0), "version": (4, 3, 0),
"blender": (3, 2, 0), "blender": (3, 2, 0),
"location": "View3D", "location": "View3D",
"description": "An open source, free to use Blender add-on that enables you to create thousands of unique images, animations, and 3D models.", "description": "A free and opensource Blender add-on that enables you to create thousands of unique images, animations, and 3D models.",
"category": "Development", "category": "Development",
} }
BMNFTS_VERSION = "v4.2.0" BMNFTS_VERSION = "v4.3.0"
LAST_UPDATED = "11:05PM, June 8th, 2022" LAST_UPDATED = "8:45AM, June 11th, 2022"
# ======== Import handling ======== # # ======== Import handling ======== #

Wyświetl plik

@ -46,7 +46,7 @@ def apply_rules_to_dna(hierarchy, deconstructed_DNA, if_dict, then_dict, enableR
# 'then_dict[attribute]' variant_list: # 'then_dict[attribute]' variant_list:
if if_list_selected: if if_list_selected:
for a in then_dict: for a in then_dict:
attribute_index = deconstructed_DNA.index(a) attribute_index = list(hierarchy.keys()).index(a)
attribute = list(hierarchy.keys())[attribute_index] attribute = list(hierarchy.keys())[attribute_index]
variant_list = list(then_dict[a].keys()) variant_list = list(then_dict[a].keys())