From 83a3813f53a07ceff2214336adfa01314f1e633d Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Thu, 17 Jul 2025 11:28:43 +0500 Subject: [PATCH] debug operators - remove unnecessary undo step --- src/bonsai/bonsai/bim/module/debug/operator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bonsai/bonsai/bim/module/debug/operator.py b/src/bonsai/bonsai/bim/module/debug/operator.py index f82be54787..44db705ce9 100644 --- a/src/bonsai/bonsai/bim/module/debug/operator.py +++ b/src/bonsai/bonsai/bim/module/debug/operator.py @@ -973,7 +973,7 @@ class DebugActiveDrawing(bpy.types.Operator): class ToggleDetailedIOSLogs(bpy.types.Operator): bl_idname = "bim.toggle_detailed_ios_logs" bl_label = "Toggle Detailed IfcOpenShell Logs" - bl_options = {"REGISTER", "UNDO"} + bl_options = {"REGISTER"} bl_description = ( "Turn on detailed IfcOpenShell logs in the system console.\n" + "Could be useful debugging issues " @@ -1009,7 +1009,7 @@ LogLevelType = Literal["NOTSET", "DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL" class ChangeLogLevel(bpy.types.Operator): bl_idname = "bim.change_log_level" bl_label = "Change Log Level " - bl_options = {"REGISTER", "UNDO"} + bl_options = {"REGISTER"} bl_description = "Change general log level across all Python code in Blender" log_level: bpy.props.EnumProperty( # pyright: ignore[reportRedeclaration]