|
@@ -103,7 +103,7 @@ const MembraneOrientation3D = PluginStateTransform.BuiltIn({
|
|
|
await MembraneOrientationProvider.attach({ runtime: ctx, assetManager: plugin.managers.asset }, a.data);
|
|
|
const repr = MembraneOrientationRepresentation({ webgl: plugin.canvas3d?.webgl, ...plugin.representation.structure.themes }, () => MembraneOrientationParams);
|
|
|
await repr.createOrUpdate(params, a.data).runInContext(ctx);
|
|
|
- return new PluginStateObject.Shape.Representation3D({ repr, source: a });
|
|
|
+ return new PluginStateObject.Shape.Representation3D({ repr, source: a }, { label: 'Membrane Orientation' });
|
|
|
});
|
|
|
},
|
|
|
update({ a, b, newParams }, plugin: PluginContext) {
|