Browse Source

fix trace gaps between sheet and tube

Alexander Rose 6 years ago
parent
commit
ff5e180a4a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/mol-repr/structure/visual/polymer-trace-mesh.ts

+ 1 - 1
src/mol-repr/structure/visual/polymer-trace-mesh.ts

@@ -52,7 +52,7 @@ async function createPolymerTraceMesh(ctx: VisualContext, unit: Unit, structure:
         const isNucleicType = isNucleic(v.moleculeType)
         const isSheet = SecondaryStructureType.is(v.secStrucType, SecondaryStructureType.Flag.Beta)
         const isHelix = SecondaryStructureType.is(v.secStrucType, SecondaryStructureType.Flag.Helix)
-        const tension = (isNucleicType || isSheet) ? 0.5 : 0.9
+        const tension = isNucleicType ? 0.5 : 0.9
         const shift = isNucleicType ? 0.3 : 0.5
 
         interpolateCurveSegment(state, v, tension, shift)