From: <sh...@us...> - 2008-12-03 16:24:26
|
Revision: 13443 http://cdk.svn.sourceforge.net/cdk/?rev=13443&view=rev Author: shk3 Date: 2008-12-03 16:24:16 +0000 (Wed, 03 Dec 2008) Log Message: ----------- copy/paste works Modified Paths: -------------- jchempaint/trunk/src/main/org/openscience/jchempaint/action/CopyPasteAction.java Modified: jchempaint/trunk/src/main/org/openscience/jchempaint/action/CopyPasteAction.java =================================================================== --- jchempaint/trunk/src/main/org/openscience/jchempaint/action/CopyPasteAction.java 2008-12-03 16:17:31 UTC (rev 13442) +++ jchempaint/trunk/src/main/org/openscience/jchempaint/action/CopyPasteAction.java 2008-12-03 16:24:16 UTC (rev 13443) @@ -96,6 +96,7 @@ } for(int i=0;i<renderModel.getShapeSelection().bonds.size();i++){ tocopy.addBond(renderModel.getShapeSelection().bonds.get(i)); + //TODO this is a workaround, bug report filed #2383366 if(!tocopy.contains(renderModel.getShapeSelection().bonds.get(i).getAtom(0))) tocopy.addAtom((renderModel.getShapeSelection().bonds.get(i).getAtom(0))); if(!tocopy.contains(renderModel.getShapeSelection().bonds.get(i).getAtom(1))) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |