From 472d942b9f6f4bb2ffdba05728303c1d3629baf1 Mon Sep 17 00:00:00 2001 From: Torrin Leonard <82110564+torrinworx@users.noreply.github.com> Date: Sat, 11 Jun 2022 08:48:09 -0400 Subject: [PATCH] Fixing small issue with Logic --- __init__.py | 8 ++++---- main/Logic.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/__init__.py b/__init__.py index e3a34eb..2c3f6a8 100644 --- a/__init__.py +++ b/__init__.py @@ -1,15 +1,15 @@ bl_info = { "name": "Blend_My_NFTs", "author": "Torrin Leonard, This Cozy Studio Inc", - "version": (4, 2, 0), + "version": (4, 3, 0), "blender": (3, 2, 0), "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", } -BMNFTS_VERSION = "v4.2.0" -LAST_UPDATED = "11:05PM, June 8th, 2022" +BMNFTS_VERSION = "v4.3.0" +LAST_UPDATED = "8:45AM, June 11th, 2022" # ======== Import handling ======== # diff --git a/main/Logic.py b/main/Logic.py index 34c2fd4..66489e4 100644 --- a/main/Logic.py +++ b/main/Logic.py @@ -46,7 +46,7 @@ def apply_rules_to_dna(hierarchy, deconstructed_DNA, if_dict, then_dict, enableR # 'then_dict[attribute]' variant_list: if if_list_selected: for a in then_dict: - attribute_index = deconstructed_DNA.index(a) + attribute_index = list(hierarchy.keys()).index(a) attribute = list(hierarchy.keys())[attribute_index] variant_list = list(then_dict[a].keys())