space928 / Blender-O3D-IO-Public

A plugin supporting blender 2.79.x-3.x.x for importing and exporting OMSI .sco, .cfg, and .o3d files
GNU General Public License v3.0
39 stars 6 forks source link

2.79 export with wrong texture name #92

Open sobolx30 opened 8 months ago

sobolx30 commented 8 months ago

Describe the bug

I think exporter should cut texture name from source string, and not from image string, as sometimes with blender fuckery it gets stuff like texture.312489013489

To Reproduce

just have duplicated texture image in blender, for example when copying objects between scenes

Expected behaviour

export with XYZ.png or whatever extension texture has

Additional context

2,79