From 2ebd00eea2a0e14b2f262df3dc25504e6fbb79bb Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Mon, 25 Sep 2023 15:24:11 +0500 Subject: [PATCH] draw calculate_all_quantities hotkey in bim tool ui hotkey was already there, it just wasn't added to UI https://i.imgur.com/nar5WYI.png --- src/blenderbim/blenderbim/bim/module/model/workspace.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/blenderbim/blenderbim/bim/module/model/workspace.py b/src/blenderbim/blenderbim/bim/module/model/workspace.py index fa2f33090d..6af2600dee 100644 --- a/src/blenderbim/blenderbim/bim/module/model/workspace.py +++ b/src/blenderbim/blenderbim/bim/module/model/workspace.py @@ -434,6 +434,11 @@ class BimToolUI: add_layout_hotkey_operator(cls.layout, "Void", "A_O", "Toggle openings") add_layout_hotkey_operator(cls.layout, "Decomposition", "A_D", "Select decomposition") + cls.layout.separator() + add_layout_hotkey_operator( + cls.layout, "Calculate All Quantities", "S_Q", bpy.ops.bim.calculate_all_quantities.__doc__ + ) + @classmethod def draw_header_interface(cls): cls.draw_type_selection_interface()