From: <ha...@us...> - 2008-07-15 14:06:13
|
Revision: 9594 http://jmol.svn.sourceforge.net/jmol/?rev=9594&view=rev Author: hansonr Date: 2008-07-15 07:05:48 -0700 (Tue, 15 Jul 2008) Log Message: ----------- 11.5.47 VERSION # bug fix: 11.5.46 broke standard "spin x 30" # new feature: draw ARC {pt1} {pt2} {ptref} {theta0, nDegrees, fractionalOffset} # new feature: draw ARROW ARC {pt1} {pt2} {ptref} {theta0, nDegrees, fractionalOffset} # # draws a circular arc or arrow around an axis defined by {pt1} and {pt2} # using {ptref} as a starting point (looking down the axis, angles # are measured in a clockwise manner, starting with the projected position # of {ptref} in a plane perpendicular to the axis. This is similar (but opposite) # to the way dihedral angles are indicated. # theta0 is the the offset angle from 0 # nDegrees is the number of degrees of arc to draw # fractionalOffset is the fraction of the distance from {pt1} to {pt2} for the # plane containing the arc. # # new feature: draw RAMACHANDRAN # draws phi and psi angles in the form of draw ARROW ARC # new feature: write RAMACHANDRAN draw Modified Paths: -------------- trunk/Jmol/src/org/jmol/viewer/Eval.java trunk/Jmol/src/org/jmol/viewer/Jmol.properties Modified: trunk/Jmol/src/org/jmol/viewer/Eval.java =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Eval.java 2008-07-15 13:33:46 UTC (rev 9593) +++ trunk/Jmol/src/org/jmol/viewer/Eval.java 2008-07-15 14:05:48 UTC (rev 9594) @@ -4988,8 +4988,8 @@ // rotate axisangle {0 1 0} 10 // rotate x 10 (atoms) # point-centered // rotate x 10 $object # point-centered - viewer.rotateAxisAngleAtCenter(points[0], rotAxis, degrees, endDegrees, - isSpin, bsAtoms); + viewer.rotateAxisAngleAtCenter(nPoints == 1 ? new Point3f(points[0]) : null, + rotAxis, degrees, endDegrees, isSpin, bsAtoms); return; } // rotate MOLECULAR Modified: trunk/Jmol/src/org/jmol/viewer/Jmol.properties =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2008-07-15 13:33:46 UTC (rev 9593) +++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2008-07-15 14:05:48 UTC (rev 9594) @@ -1,8 +1,9 @@ # Developers: to add a description of changes you have made, # add it on line starting with # below the "version=..." line -version=11.5.47_dev +version=11.5.47 +# bug fix: 11.5.46 broke standard "spin x 30" # new feature: draw ARC {pt1} {pt2} {ptref} {theta0, nDegrees, fractionalOffset} # new feature: draw ARROW ARC {pt1} {pt2} {ptref} {theta0, nDegrees, fractionalOffset} # This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |