[Bf-extensions-cvs] [fae4f145] master: Collection Manager: Fix QCD OGL widget bug. Task: T69577

Ryan Inch noreply at git.blender.org
Wed Mar 18 05:49:11 CET 2020


Commit: fae4f145e54d2238f5e9e25fc336f9a78abc693e
Author: Ryan Inch
Date:   Tue Mar 17 17:35:38 2020 -0400
Branches: master
https://developer.blender.org/rBAfae4f145e54d2238f5e9e25fc336f9a78abc693e

Collection Manager: Fix QCD OGL widget bug. Task: T69577

Fixes a bug with the OpenGL QCD move widget where you couldn't
move objects to any slots past a non-set slot.

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

M	object_collection_manager/__init__.py
M	object_collection_manager/qcd_move_widget.py

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

diff --git a/object_collection_manager/__init__.py b/object_collection_manager/__init__.py
index 1a8a1e73..c473e6c7 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,0,1),
+    "version": (2,0,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/qcd_move_widget.py b/object_collection_manager/qcd_move_widget.py
index 442d8cfb..c787db67 100644
--- a/object_collection_manager/qcd_move_widget.py
+++ b/object_collection_manager/qcd_move_widget.py
@@ -442,7 +442,7 @@ class QCDMoveWidget(Operator):
 
             for num in range(20):
                 if not self.areas.get(f"Button {num + 1}", None):
-                    break
+                    continue
 
                 if mouse_in_area(self.mouse_pos, self.areas[f"Button {num + 1}"]):
                     bpy.ops.view3d.move_to_qcd_slot(slot=str(num + 1), toggle=event.shift)



More information about the Bf-extensions-cvs mailing list