summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorDmitriy Romanov <dimonasdf@inbox.ru>2018-03-29 12:47:24 +0300
committerGitHub <noreply@github.com>2018-03-29 12:47:24 +0300
commit3b29e85257d68b5ce4834aa756a5d1fc62dd82c7 (patch)
tree13c6e44d070796669a7c5af361f2f6770e730116 /editor
parent89f4e716794e9a1cf105af6e4f5a0f7ec373afc4 (diff)
Fix Collada material roughness import function 2
Fix minus space.
Diffstat (limited to 'editor')
-rw-r--r--editor/import/editor_import_collada.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/import/editor_import_collada.cpp b/editor/import/editor_import_collada.cpp
index 89db0191ee..2a2fd4ef8a 100644
--- a/editor/import/editor_import_collada.cpp
+++ b/editor/import/editor_import_collada.cpp
@@ -480,7 +480,7 @@ Error ColladaImport::_create_material(const String &p_target) {
}
}
- float roughness = - Math::sqrt(1.0 - ((Math::log(effect.shininess) / Math::log(2.0)) / 9.0)) + 1;
+ float roughness = -Math::sqrt(1.0 - ((Math::log(effect.shininess) / Math::log(2.0)) / 9.0)) + 1;
material->set_roughness(roughness);
if (effect.double_sided) {