JAL-1847 added AUTOSUPERIMPOSE property which can be used to disable automatic superp...
authorJim Procter <jprocter@issues.jalview.org>
Fri, 4 Sep 2015 16:31:35 +0000 (17:31 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Fri, 4 Sep 2015 16:31:35 +0000 (17:31 +0100)
src/jalview/gui/AppJmol.java
src/jalview/gui/ChimeraViewFrame.java

index dcd4f7d..fdc47fc 100644 (file)
@@ -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()
         {
index 72c5054..967d93f 100644 (file)
@@ -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()
         {