X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fappletgui%2FAppletJmol.java;h=4484b0cecdfca4633f27bcfb8d2315a381ea3ef1;hb=1dabf099b7c77fb0a80039f72cef34669df9b2e1;hp=c7be8fb28a9f5ed5b019a88b20fe288b8adff144;hpb=2de8acfae59aced665e4c37ad0f7dcc2ed68818e;p=jalview.git diff --git a/src/jalview/appletgui/AppletJmol.java b/src/jalview/appletgui/AppletJmol.java index c7be8fb..4484b0c 100644 --- a/src/jalview/appletgui/AppletJmol.java +++ b/src/jalview/appletgui/AppletJmol.java @@ -544,16 +544,18 @@ public class AppletJmol extends EmbmenuFrame implements StructureListener, resetLastRes.setLength(0); resetLastRes.append("select " + pdbResNum); + eval.append(":"); + resetLastRes.append(":"); if (!chain.equals(" ")) { - eval.append(":" + chain); - resetLastRes.append(":" + chain); + eval.append(chain); + resetLastRes.append(chain); } - eval.append(";wireframe 100;" + eval.toString() + ".CA;"); + eval.append(";wireframe 100;" + eval.toString() + " and not hetero;"); resetLastRes.append(";wireframe 0;" + resetLastRes.toString() - + ".CA;spacefill 0;"); + + " and not hetero; spacefill 0;"); eval.append("spacefill 200;select none");