From 8dd1727c6cd3ef37b21fde7a8906dfcaf8ea5f9a Mon Sep 17 00:00:00 2001 From: David Sehnal <david.sehnal@gmail.com> Date: Sat, 17 Nov 2018 00:35:10 +0100 Subject: [PATCH] mol-plugin: sync repr tweak --- src/mol-plugin/behavior/static/representation.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/mol-plugin/behavior/static/representation.ts b/src/mol-plugin/behavior/static/representation.ts index 9647cddd7..22859c4d8 100644 --- a/src/mol-plugin/behavior/static/representation.ts +++ b/src/mol-plugin/behavior/static/representation.ts @@ -30,12 +30,7 @@ export function SyncRepresentationToCanvas(ctx: PluginContext) { } if (!SO.isRepresentation3D(e.obj)) return; - updateVisibility(e, e.obj.data); - ctx.canvas3d.add(e.obj.data); - - console.log('update', e.ref, performance.now()); - ctx.canvas3d.requestDraw(true); }); events.object.removed.subscribe(e => { if (!SO.isRepresentation3D(e.obj)) return; -- GitLab