corrected a small bug in the saving of ply got by generalizing float/double type
This commit is contained in:
parent
918cec664a
commit
cd46470774
|
@ -202,7 +202,7 @@ namespace vcg {
|
||||||
if( tri::HasPerVertexRadius(m) && (pi.mask & Mask::IOM_VERTRADIUS) )
|
if( tri::HasPerVertexRadius(m) && (pi.mask & Mask::IOM_VERTRADIUS) )
|
||||||
{
|
{
|
||||||
const char* rdtp = vcg::tri::io::Precision<typename VertexType::RadiusType>::typeName();
|
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 ) )
|
if( ( HasPerVertexTexCoord(m) && pi.mask & Mask::IOM_VERTTEXCOORD ) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue