diff --git a/src/mol-plugin/state/transforms/representation.ts b/src/mol-plugin/state/transforms/representation.ts index 71c9e63bac6603b3536b509504e323100c626b6e..cdc5e19320cf10585a244b03d56cb3fd5f8d1be8 100644 --- a/src/mol-plugin/state/transforms/representation.ts +++ b/src/mol-plugin/state/transforms/representation.ts @@ -402,7 +402,6 @@ const OverpaintStructureRepresentation3DFromBundle = PluginStateTransform.BuiltI return true; }, apply({ a, params }) { - console.log('apply', {a, params}) const structure = a.data.source.data const overpaint = getStructureOverpaintFromBundle(structure, params.layers, params.alpha) @@ -414,10 +413,8 @@ const OverpaintStructureRepresentation3DFromBundle = PluginStateTransform.BuiltI }, { label: `Overpaint (${overpaint.layers.length} Layers)` }) }, update({ a, b, newParams, oldParams }) { - console.log('update', {a, b, newParams, oldParams}) const oldStructure = b.data.info as Structure const newStructure = a.data.source.data - console.log() if (newStructure !== oldStructure) return StateTransformer.UpdateResult.Recreate const oldOverpaint = b.data.state.overpaint! const newOverpaint = getStructureOverpaintFromBundle(newStructure, newParams.layers, newParams.alpha) diff --git a/src/mol-plugin/util/structure-overpaint-helper.ts b/src/mol-plugin/util/structure-overpaint-helper.ts index 43169738b66ea308a0d976bd02ce3ab471388d0b..7424be71533be7cf2d59720f47b87c81c374d113 100644 --- a/src/mol-plugin/util/structure-overpaint-helper.ts +++ b/src/mol-plugin/util/structure-overpaint-helper.ts @@ -30,7 +30,6 @@ export class StructureOverpaintHelper { async set(color: Color | -1, lociGetter: (structure: Structure) => StructureElement.Loci, types?: string[]) { await this.eachRepr((update, repr, overpaint) => { - console.log(types, repr.params!.values.type.name) if (types && !types.includes(repr.params!.values.type.name)) return // TODO merge overpaint layers, delete shadowed ones