mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 14:41:25 +00:00
debug operators - remove unnecessary undo step
This commit is contained in:
@@ -973,7 +973,7 @@ class DebugActiveDrawing(bpy.types.Operator):
|
|||||||
class ToggleDetailedIOSLogs(bpy.types.Operator):
|
class ToggleDetailedIOSLogs(bpy.types.Operator):
|
||||||
bl_idname = "bim.toggle_detailed_ios_logs"
|
bl_idname = "bim.toggle_detailed_ios_logs"
|
||||||
bl_label = "Toggle Detailed IfcOpenShell Logs"
|
bl_label = "Toggle Detailed IfcOpenShell Logs"
|
||||||
bl_options = {"REGISTER", "UNDO"}
|
bl_options = {"REGISTER"}
|
||||||
bl_description = (
|
bl_description = (
|
||||||
"Turn on detailed IfcOpenShell logs in the system console.\n"
|
"Turn on detailed IfcOpenShell logs in the system console.\n"
|
||||||
+ "Could be useful debugging issues "
|
+ "Could be useful debugging issues "
|
||||||
@@ -1009,7 +1009,7 @@ LogLevelType = Literal["NOTSET", "DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"
|
|||||||
class ChangeLogLevel(bpy.types.Operator):
|
class ChangeLogLevel(bpy.types.Operator):
|
||||||
bl_idname = "bim.change_log_level"
|
bl_idname = "bim.change_log_level"
|
||||||
bl_label = "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"
|
bl_description = "Change general log level across all Python code in Blender"
|
||||||
|
|
||||||
log_level: bpy.props.EnumProperty( # pyright: ignore[reportRedeclaration]
|
log_level: bpy.props.EnumProperty( # pyright: ignore[reportRedeclaration]
|
||||||
|
|||||||
Reference in New Issue
Block a user