From 6fbc6ba37a390e3cbac8f7577146ef45772c12ec Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 4 Sep 2015 17:31:35 +0100 Subject: [PATCH] JAL-1847 added AUTOSUPERIMPOSE property which can be used to disable automatic superposition when loading multiple structures --- src/jalview/gui/AppJmol.java | 2 +- src/jalview/gui/ChimeraViewFrame.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() { -- 1.7.10.2