fix error with info notes

This commit is contained in:
pullusb
2025-07-28 12:07:26 +02:00
parent 8701aebc91
commit adc35fac62
3 changed files with 68 additions and 4 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ class RT_OT_scene_checker(Operator):
# Show in viewport
# title = "Changed Settings" if apply else "Checked Settings (nothing changed)"
title = "Visibility checks report (details in console)"
fn.show_message_box(problems, _title = title, _icon = 'INFO')
fn.show_message_box(problems, title=title, icon='INFO')
else:
self.report({'INFO'}, 'All good')
+1 -1
View File
@@ -83,7 +83,7 @@ class RT_OT_info_note(Operator):
def execute(self, context):
## Split text in list of lines to display
lines = self.text.split('\n')
fn.show_message_box(_message=lines, _title=self.title, _icon=self.icon)
fn.show_message_box(message=lines, title=self.title, icon=self.icon)
return {"FINISHED"}
# Not registered yet