From: <ha...@us...> - 2010-07-13 18:03:06
|
Revision: 13564 http://jmol.svn.sourceforge.net/jmol/?rev=13564&view=rev Author: hansonr Date: 2010-07-13 18:02:55 +0000 (Tue, 13 Jul 2010) Log Message: ----------- version=12.0.RC25_dev # bug fix: polyhedra miscalculation in VRML and IDTF export Modified Paths: -------------- trunk/Jmol/src/org/jmol/export/__CartesianExporter.java trunk/Jmol/src/org/jmol/viewer/Jmol.properties Modified: trunk/Jmol/src/org/jmol/export/__CartesianExporter.java =================================================================== --- trunk/Jmol/src/org/jmol/export/__CartesianExporter.java 2010-07-13 16:18:17 UTC (rev 13563) +++ trunk/Jmol/src/org/jmol/export/__CartesianExporter.java 2010-07-13 18:02:55 UTC (rev 13564) @@ -211,7 +211,10 @@ } void fillTriangle(short colix, Point3f ptA, Point3f ptB, Point3f ptC) { - outputTriangle(ptA, ptB, ptC, colix); + viewer.unTransformPoint(ptA, tempP1); + viewer.unTransformPoint(ptB, tempP2); + viewer.unTransformPoint(ptC, tempP3); + outputTriangle(tempP1, tempP2, tempP3, colix); } void plotImage(int x, int y, int z, Image image, short bgcolix, int width, Modified: trunk/Jmol/src/org/jmol/viewer/Jmol.properties =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2010-07-13 16:18:17 UTC (rev 13563) +++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2010-07-13 18:02:55 UTC (rev 13564) @@ -3,6 +3,7 @@ version=12.0.RC25_dev +# bug fix: polyhedra miscalculation in VRML and IDTF export # bug fix: multiple-model data statement with ~~~ broken # new feature: data "model..." and data "append..." command # deprecated and merged with load command: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |