Skip to content
Snippets Groups Projects
Commit 1d45d7e1 authored by Bastien Montagne's avatar Bastien Montagne
Browse files

Fix various UI messages issues.

parent d700a688
No related branches found
No related tags found
No related merge requests found
...@@ -375,8 +375,8 @@ class ExportGLTF2_Base: ...@@ -375,8 +375,8 @@ class ExportGLTF2_Base:
optimize_animation_size: BoolProperty( optimize_animation_size: BoolProperty(
name='Optimize Animation Size', name='Optimize Animation Size',
description=( description=(
"Reduces exported filesize by removing duplicate keyframes" "Reduce exported file-size by removing duplicate keyframes"
"Can cause problems with stepped animation" "(can cause problems with stepped animation)"
), ),
default=True default=True
) )
......
...@@ -781,9 +781,9 @@ class MESH_OT_print3d_align_to_xy(Operator): ...@@ -781,9 +781,9 @@ class MESH_OT_print3d_align_to_xy(Operator):
for name in skip_invalid: for name in skip_invalid:
print(f"Align to XY: Skipping object {name}. No faces selected.") print(f"Align to XY: Skipping object {name}. No faces selected.")
if len(skip_invalid) == 1: if len(skip_invalid) == 1:
self.report({'WARNING'}, f"Skipping object {skip_invalid[0]}. No faces selected.") self.report({'WARNING'}, "Skipping object. No faces selected" % skip_invalid[0])
else: else:
self.report({'WARNING'}, f"Skipping some objects. No faces selected. See terminal.") self.report({'WARNING'}, "Skipping some objects. No faces selected. See terminal")
return {'FINISHED'} return {'FINISHED'}
def invoke(self, context, event): def invoke(self, context, event):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment