corrected a small bug in the saving of ply got by generalizing float/double type

This commit is contained in:
Paolo Cignoni 2014-10-09 16:40:35 +00:00
parent 918cec664a
commit cd46470774
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ namespace vcg {
if( tri::HasPerVertexRadius(m) && (pi.mask & Mask::IOM_VERTRADIUS) )
{
const char* rdtp = vcg::tri::io::Precision<typename VertexType::RadiusType>::typeName();
fprintf(fpout,"property float radius\n",rdtp);
fprintf(fpout,"property %s radius\n",rdtp);
}
if( ( HasPerVertexTexCoord(m) && pi.mask & Mask::IOM_VERTTEXCOORD ) )
{