|
@@ -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;
|