From: Jim Procter Date: Fri, 4 Sep 2015 16:31:35 +0000 (+0100) Subject: JAL-1847 added AUTOSUPERIMPOSE property which can be used to disable automatic superp... X-Git-Tag: Release_2_10_0~493^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=6fbc6ba37a390e3cbac8f7577146ef45772c12ec;p=jalview.git JAL-1847 added AUTOSUPERIMPOSE property which can be used to disable automatic superposition when loading multiple structures --- diff --git a/src/jalview/gui/AppJmol.java b/src/jalview/gui/AppJmol.java index dcd4f7d..fdc47fc 100644 --- a/src/jalview/gui/AppJmol.java +++ b/src/jalview/gui/AppJmol.java @@ -623,7 +623,7 @@ public class AppJmol extends StructureViewerBase jmb.updateColours(ap); } // do superposition if asked to - if (alignAddedStructures) + if (Cache.getDefault("AUTOSUPERIMPOSE", true) && alignAddedStructures) { javax.swing.SwingUtilities.invokeLater(new Runnable() { diff --git a/src/jalview/gui/ChimeraViewFrame.java b/src/jalview/gui/ChimeraViewFrame.java index 72c5054..967d93f 100644 --- a/src/jalview/gui/ChimeraViewFrame.java +++ b/src/jalview/gui/ChimeraViewFrame.java @@ -699,7 +699,7 @@ public class ChimeraViewFrame extends StructureViewerBase jmb.updateColours(ap); } // do superposition if asked to - if (alignAddedStructures) + if (Cache.getDefault("AUTOSUPERIMPOSE", true) && alignAddedStructures) { new Thread(new Runnable() {