Fix little bug

This commit is contained in:
Massimo Fabbro
2023-01-14 22:42:57 +01:00
committed by Dion Moult
parent a4566797fe
commit 1be76c8aaa
@@ -447,7 +447,7 @@ class CalculateAllQuantities(bpy.types.Operator, tool.Ifc.Operator):
return context.active_object
def _execute(self, context):
QtoCore.calculate_all_qtos(tool.Ifc, tool.Qto, selected_objects = context.selected_objects)
QtoCore.calculate_all_qtos(tool.Qto, selected_objects = [context.active_object])
class CopyPropertyToSelection(bpy.types.Operator, Operator):