Prechádzať zdrojové kódy

fix disable-wboit Viewer GET param

Alexander Rose 3 rokov pred
rodič
commit
23c53cd9fb
2 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 1 0
      CHANGELOG.md
  2. 1 1
      src/apps/viewer/index.html

+ 1 - 0
CHANGELOG.md

@@ -13,6 +13,7 @@ Note that since we don't clearly distinguish between a public and private interf
 - Improve pdb parsing: handle non unique atom and chain names (fixes #156)
 - Fix volume streaming for entries with multiple contour lists
 - Add ``allowTransparentBackfaces`` parameter to support double-sided rendering of transparent geometries
+- Fix ``disable-wboit`` Viewer GET param
 
 ## [v3.5.0] - 2022-03-25
 

+ 1 - 1
src/apps/viewer/index.html

@@ -71,7 +71,7 @@
                 pixelScale: parseFloat(pixelScale) || 1,
                 pickScale: parseFloat(pickScale) || 0.25,
                 pickPadding: isNaN(parseFloat(pickPadding)) ? 1 : parseFloat(pickPadding),
-                enableWboit: disableWboit ? true : void 0, // use default value if disable-wboit is not set
+                enableWboit: disableWboit ? false : void 0, // use default value if disable-wboit is not set
                 preferWebgl1: preferWebgl1,
             }).then(viewer => {
                 var snapshotId = getParam('snapshot-id', '[^&]+').trim();