mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Fix product decorator to be uninstalled after mouse right click.
This commit is contained in:
@@ -178,7 +178,9 @@ class AddOccurrence(bpy.types.Operator, PolylineOperator):
|
||||
self.handle_snap_selection(context, event)
|
||||
|
||||
if not self.tool_state.is_input_on and event.value == "RELEASE" and event.type in {"RIGHTMOUSE"}:
|
||||
self.tool_state.axis_method = None
|
||||
context.workspace.status_text_set(text=None)
|
||||
ProductDecorator.uninstall()
|
||||
PolylineDecorator.uninstall()
|
||||
tool.Polyline.clear_polyline()
|
||||
tool.Blender.update_viewport()
|
||||
|
||||
Reference in New Issue
Block a user