Revision: 65131
          http://sourceforge.net/p/brlcad/code/65131
Author:   ejno
Date:     2015-06-01 16:44:57 +0000 (Mon, 01 Jun 2015)
Log Message:
-----------
scale CHEX1 thickness to inches

Modified Paths:
--------------
    brlcad/trunk/src/libgcv/conv/fastgen4/fastgen4_write.cpp

Modified: brlcad/trunk/src/libgcv/conv/fastgen4/fastgen4_write.cpp
===================================================================
--- brlcad/trunk/src/libgcv/conv/fastgen4/fastgen4_write.cpp    2015-06-01 
16:34:23 UTC (rev 65130)
+++ brlcad/trunk/src/libgcv/conv/fastgen4/fastgen4_write.cpp    2015-06-01 
16:44:57 UTC (rev 65131)
@@ -802,7 +802,8 @@
     record2 << id << m_grids[6] << m_grids[7];
 
     if (has_thickness)
-       record2 << "" << "" << "" << "" << m_thickness << (m_grid_centered ? 1 
: 2);
+       record2 << "" << "" << "" << "" << m_thickness * 
FastgenWriter::INCHES_PER_MM
+               << (m_grid_centered ? 1 : 2);
 }
 
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to