Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Inch <mythologylover75@gmail.com>2021-05-10 07:27:58 +0300
committerRyan Inch <mythologylover75@gmail.com>2021-05-10 07:27:58 +0300
commit8ea89b89c7d1f05798e5c6660456e80fd45e7362 (patch)
tree38a5ca404952ae7435dbb6222f3cf1538c2301af
parent37dd8b8eb05cdbef14c247589b2f7b368a59debb (diff)
Collection Manager: Fix QCD renumbering. Task: T69577
Fix error with renumber QCD slots adding a 21st slot.
-rw-r--r--object_collection_manager/__init__.py2
-rw-r--r--object_collection_manager/internals.py4
2 files changed, 3 insertions, 3 deletions
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