Re-export character.b3d without texture linkage.
authorAuke Kok <sofar@foo-projects.org>
Wed, 16 Mar 2016 05:18:49 +0000 (22:18 -0700)
committerparamat <mat.gregory@virginmedia.com>
Fri, 18 Mar 2016 02:35:14 +0000 (02:35 +0000)
I've created a modified B3Dexport.py version that automatically strips
the embedded texture link to external texture files. These links were
causing the engine to spew "can't find character.png" messages on the
console, but were harmless due to texture loading being done by the
client side and not through irrlicht.

I previously moved character.png to /textures/, which is wrong. I now
understand that character.png was in the same folder as character.blend
simply to make blender load the texture from the embedded linkage
automatically. Nothing more, nothing less.

Subsequently the character.png file should just sit in convenience
in the /models/ folder with the blend file, and not in the textures
file. This patch moves it back. And yes, minetest does load the
character.png from this path.

mods/default/models/character.b3d
mods/default/models/character.png [new file with mode: 0644]
mods/default/textures/character.png [deleted file]

index f411f4713724d7a026e0e411c2d138c566527a0c..0a0ca6292abb67cb2ad794f3e91c948024739c47 100644 (file)
Binary files a/mods/default/models/character.b3d and b/mods/default/models/character.b3d differ
diff --git a/mods/default/models/character.png b/mods/default/models/character.png
new file mode 100644 (file)
index 0000000..0502178
Binary files /dev/null and b/mods/default/models/character.png differ
diff --git a/mods/default/textures/character.png b/mods/default/textures/character.png
deleted file mode 100644 (file)
index 0502178..0000000
Binary files a/mods/default/textures/character.png and /dev/null differ