Fix default deforming scale

master
Jeremy Hu 2019-08-18 14:28:27 +09:30
parent adadab65ea
commit 3701002fac
1 changed files with 1 additions and 1 deletions

View File

@ -374,7 +374,7 @@ nodemesh::Combiner::Mesh *MeshGenerator::combinePartMesh(const QString &partIdSt
} }
} }
float deformMapScale = 0.5; float deformMapScale = 1.0;
QString deformMapScaleString = valueOfKeyInMapOrEmpty(part, "deformMapScale"); QString deformMapScaleString = valueOfKeyInMapOrEmpty(part, "deformMapScale");
if (!deformMapScaleString.isEmpty()) if (!deformMapScaleString.isEmpty())
deformMapScale = deformMapScaleString.toFloat(); deformMapScale = deformMapScaleString.toFloat();