glTF: fix a few typos #104961

Closed
Damien Picard wants to merge 1 commits from pioverfour:dp_gltf_messages into blender-v4.0-release

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

View File

@ -172,7 +172,7 @@ class ExportGLTF2_Base(ConvertGLTF2_Base):
name='Images', name='Images',
items=(('AUTO', 'Automatic', items=(('AUTO', 'Automatic',
'Save PNGs as PNGs, JPEGs as JPEGs, WebPs as WebPs. ' 'Save PNGs as PNGs, JPEGs as JPEGs, WebPs as WebPs. '
'If neither one, use PNG'), 'For other formats, use PNG'),
('JPEG', 'JPEG Format (.jpg)', ('JPEG', 'JPEG Format (.jpg)',
'Save images as JPEGs. (Images that need alpha are saved as PNGs though.) ' 'Save images as JPEGs. (Images that need alpha are saved as PNGs though.) '
'Be aware of a possible loss in quality'), 'Be aware of a possible loss in quality'),
@ -191,8 +191,8 @@ class ExportGLTF2_Base(ConvertGLTF2_Base):
export_image_add_webp: BoolProperty( export_image_add_webp: BoolProperty(
name='Create WebP', name='Create WebP',
description=( description=(
"Creates WebP textures for every textures. " "Creates WebP textures for every texture. "
"For already WebP textures, nothing happen" "For already WebP textures, nothing happens"
), ),
default=False default=False
) )
@ -638,7 +638,7 @@ class ExportGLTF2_Base(ConvertGLTF2_Base):
export_try_sparse_sk: BoolProperty( export_try_sparse_sk: BoolProperty(
name='Use Sparse Accessor if better', name='Use Sparse Accessor if better',
description='Try using Sparce Accessor if it save space', description='Try using Sparse Accessor if it saves space',
default=True default=True
) )
@ -650,9 +650,9 @@ class ExportGLTF2_Base(ConvertGLTF2_Base):
export_gpu_instances: BoolProperty( export_gpu_instances: BoolProperty(
name='GPU Instances', name='GPU Instances',
description='Export using EXT_mesh_gpu_instancing.' description='Export using EXT_mesh_gpu_instancing. '
'Limited to children of a same Empty. ' 'Limited to children of a given Empty. '
'multiple Materials might be omitted', 'Multiple materials might be omitted',
default=False default=False
) )
@ -1645,7 +1645,7 @@ class ImportGLTF2(Operator, ConvertGLTF2_Base, ImportHelper):
items=( items=(
("BLENDER", "Blender (best for import/export round trip)", ("BLENDER", "Blender (best for import/export round trip)",
"Good for re-importing glTFs exported from Blender, " "Good for re-importing glTFs exported from Blender, "
"and re-exporting glTFs to glTFs after Blender editing" "and re-exporting glTFs to glTFs after Blender editing. "
"Bone tips are placed on their local +Y axis (in glTF space)"), "Bone tips are placed on their local +Y axis (in glTF space)"),
("TEMPERANCE", "Temperance (average)", ("TEMPERANCE", "Temperance (average)",
"Decent all-around strategy. " "Decent all-around strategy. "
@ -1673,8 +1673,8 @@ class ImportGLTF2(Operator, ConvertGLTF2_Base, ImportHelper):
import_webp_texture: BoolProperty( import_webp_texture: BoolProperty(
name='Import WebP textures', name='Import WebP textures',
description=( description=(
"If a texture exists in WebP format," "If a texture exists in WebP format, "
"loads the WebP texture instead of the fallback png/jpg one" "loads the WebP texture instead of the fallback PNG/JPEG one"
), ),
default=False, default=False,
) )