From 8ea89b89c7d1f05798e5c6660456e80fd45e7362 Mon Sep 17 00:00:00 2001 From: Ryan Inch Date: Mon, 10 May 2021 00:27:58 -0400 Subject: Collection Manager: Fix QCD renumbering. Task: T69577 Fix error with renumber QCD slots adding a 21st slot. --- object_collection_manager/__init__.py | 2 +- object_collection_manager/internals.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'object_collection_manager') diff --git a/object_collection_manager/__init__.py b/object_collection_manager/__init__.py index d8e50022..0c475bdd 100644 --- a/object_collection_manager/__init__.py +++ b/object_collection_manager/__init__.py @@ -22,7 +22,7 @@ bl_info = { "name": "Collection Manager", "description": "Manage collections and their objects", "author": "Ryan Inch", - "version": (2, 21, 1), + "version": (2, 21, 2), "blender": (2, 80, 0), "location": "View3D - Object Mode (Shortcut - M)", "warning": '', # used for warning icon and text in addons panel diff --git a/object_collection_manager/internals.py b/object_collection_manager/internals.py index 706bc89d..1d159eca 100644 --- a/object_collection_manager/internals.py +++ b/object_collection_manager/internals.py @@ -255,7 +255,7 @@ class QCDSlots(): x += 1 - if self.length() > 20: + if self.length() == 20: break else: @@ -279,7 +279,7 @@ class QCDSlots(): x += 1 - if self.length() > 20: + if self.length() == 20: break -- cgit v1.2.3