Skip to content

Commit

Permalink
Fix issue where world without textures does not export correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardstrobl committed Dec 8, 2022
1 parent 9815a54 commit 795e4ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Blender/pico3d_blender_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ def generate_textures(self):
#if there are no textures to be added, exit
if (len(self.texture_list) == 0):
#print('no textures to be added')
return ''
return 'struct texture chunk_texture_list[0] = {};'


texture_count = len(self.textures)
Expand Down
Binary file modified Blender/world.blend
Binary file not shown.

0 comments on commit 795e4ad

Please sign in to comment.