|
@@ -132,12 +132,6 @@ const StructureRepresentation3D = PluginStateTransform.BuiltIn({
|
|
|
await Theme.ensureDependencies(propertyCtx, plugin.representation.structure.themes, { structure: a.data }, params);
|
|
|
repr.setTheme(Theme.create(plugin.representation.structure.themes, { structure: a.data }, params));
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
|
|
|
await repr.createOrUpdate(props, a.data).runInContext(ctx);
|
|
|
return new SO.Molecule.Structure.Representation3D({ repr, source: a }, { label: provider.label });
|
|
@@ -159,11 +153,6 @@ const StructureRepresentation3D = PluginStateTransform.BuiltIn({
|
|
|
await Theme.ensureDependencies(propertyCtx, plugin.representation.structure.themes, { structure: a.data }, newParams);
|
|
|
b.data.repr.setTheme(Theme.create(plugin.representation.structure.themes, { structure: a.data }, newParams));
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
|
|
|
await b.data.repr.createOrUpdate(props, a.data).runInContext(ctx);
|
|
|
b.data.source = a;
|