From fae4f145e54d2238f5e9e25fc336f9a78abc693e Mon Sep 17 00:00:00 2001 From: Ryan Inch <mythologylover75@gmail.com> Date: Tue, 17 Mar 2020 17:35:38 -0400 Subject: [PATCH] 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. --- object_collection_manager/__init__.py | 2 +- object_collection_manager/qcd_move_widget.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/object_collection_manager/__init__.py b/object_collection_manager/__init__.py index 1a8a1e730..c473e6c75 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 442d8cfb5..c787db674 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) -- GitLab