aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/io_plugins
diff options
context:
space:
mode:
authorPawel Kowal2016-06-07 22:07:48 +0200
committerPawel Kowal2016-06-07 22:07:48 +0200
commit101e0c9ec6db92a842a8ca8fc7b4e475a6f2f477 (patch)
treee98880414344e77822cd150af79eed434fd15fa9 /tools/editor/io_plugins
parent5e01566d01023b0ce136e6db122d5817d9b207eb (diff)
downloadgodot-101e0c9ec6db92a842a8ca8fc7b4e475a6f2f477.tar.gz
godot-101e0c9ec6db92a842a8ca8fc7b4e475a6f2f477.tar.zst
godot-101e0c9ec6db92a842a8ca8fc7b4e475a6f2f477.zip
Improved Blender/Collada shadeless->unshaded import
Diffstat (limited to 'tools/editor/io_plugins')
-rw-r--r--tools/editor/io_plugins/editor_import_collada.cpp1
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 f0aec113d..80cd54756 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);