Procházet zdrojové kódy

mol-plugin: sync repr tweak

David Sehnal před 6 roky
rodič
revize
8dd1727c6c

+ 0 - 5
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;