lianlab / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

Unpacked textures fail to load even if paths are correct #302

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When you have textures in the .blend set to relative paths, loading the blend 
in gamekit breaks if the texture is not packed.

Patch fixes it by automatically adding a resource location in Ogre based on the 
path of the blend file + the relative path of the texture. It should be safe as 
it can be overridden by manually adding the textures resource location before 
loading the blend.

Original issue reported on code.google.com by vek...@gmail.com on 2 Feb 2013 at 8:41

Attachments:

GoogleCodeExporter commented 9 years ago
Very very useful patch! Thx for that and the other 2 smooth patches. That's the 
way I like it :D 

commit:
http://code.google.com/p/gamekit/source/detail?r=1250

Thx, ToM

Original comment by thomas.t...@googlemail.com on 4 Feb 2013 at 3:37