X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=blender%2Fio_mspgl%2Fexport_material.py;h=8619142e9b4dff53d4543c2b8a3e31dde6cff016;hp=956f51d430b41acb8e48f2fdc42376971c2f3453;hb=5c3e77f72d30b93ab775eb41eba4efcdabb0f074;hpb=5be6340cbd5da619db56e1658da56840fcfd6293 diff --git a/blender/io_mspgl/export_material.py b/blender/io_mspgl/export_material.py index 956f51d4..8619142e 100644 --- a/blender/io_mspgl/export_material.py +++ b/blender/io_mspgl/export_material.py @@ -37,7 +37,10 @@ class MaterialExporter: if s.use_map_color_diffuse: textures["diffuse_map"] = s.texture elif s.use_map_normal: - textures["normal_map"] = s.texture + if s.texture.use_normal_map: + textures["normal_map"] = s.texture + else: + textures["displace_map"] = s.texture if material.technique: if not material.inherit_tech: