Fix Collada material roughness import function 2

Fix minus space.
This commit is contained in:
Dmitriy Romanov 2018-03-29 12:47:24 +03:00 committed by GitHub
parent 89f4e71679
commit 3b29e85257
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {