Fix: Display name of objects that cannot be written into a 3DS file #3

Merged
Sebastian Sille merged 1 commits from GottfriedHofmann/io_scene_3ds:main into main 2024-08-27 12:28:31 +02:00

View File

@ -1872,7 +1872,7 @@ def save(operator, context, filepath="", collection="", scale_factor=1.0, use_sc
if object_chunk.validate(): if object_chunk.validate():
object_info.add_subchunk(object_chunk) object_info.add_subchunk(object_chunk)
else: else:
operator.report({'WARNING'}, "Object %r can't be written into a 3DS file") operator.report({'WARNING'}, "Object %r can't be written into a 3DS file" % ob.name)
# Export object node # Export object node
if use_keyframes and not use_hierarchy: if use_keyframes and not use_hierarchy: