[Bf-extensions-cvs] [8ea89b89] blender-v2.93-release: Collection Manager: Fix QCD renumbering. Task: T69577

Ryan Inch noreply at git.blender.org
Mon May 10 06:30:19 CEST 2021


Commit: 8ea89b89c7d1f05798e5c6660456e80fd45e7362
Author: Ryan Inch
Date:   Mon May 10 00:27:58 2021 -0400
Branches: blender-v2.93-release
https://developer.blender.org/rBA8ea89b89c7d1f05798e5c6660456e80fd45e7362

Collection Manager: Fix QCD renumbering. Task: T69577

Fix error with renumber QCD slots adding a 21st slot.

===================================================================

M	object_collection_manager/__init__.py
M	object_collection_manager/internals.py

===================================================================

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



More information about the Bf-extensions-cvs mailing list