diff options
author | Pawel Kowal <pkowal1982@gmail.com> | 2016-06-07 22:07:48 +0200 |
---|---|---|
committer | Pawel Kowal <pkowal1982@gmail.com> | 2016-06-07 22:07:48 +0200 |
commit | 101e0c9ec6db92a842a8ca8fc7b4e475a6f2f477 (patch) | |
tree | e98880414344e77822cd150af79eed434fd15fa9 /tools/editor | |
parent | 5e01566d01023b0ce136e6db122d5817d9b207eb (diff) |
Improved Blender/Collada shadeless->unshaded import
Diffstat (limited to 'tools/editor')
-rw-r--r-- | tools/editor/io_plugins/editor_import_collada.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/editor/io_plugins/editor_import_collada.cpp b/tools/editor/io_plugins/editor_import_collada.cpp index f0aec113d1..80cd54756e 100644 --- a/tools/editor/io_plugins/editor_import_collada.cpp +++ b/tools/editor/io_plugins/editor_import_collada.cpp @@ -467,6 +467,7 @@ Error ColladaImport::_create_material(const String& p_target) { material->set_parameter(FixedMaterial::PARAM_SPECULAR_EXP,effect.shininess); material->set_flag(Material::FLAG_DOUBLE_SIDED,effect.double_sided); + material->set_flag(Material::FLAG_UNSHADED,effect.unshaded); |