diff --git a/src/apps/canvas/component/structure-representation.tsx b/src/apps/canvas/component/structure-representation.tsx index 4249ddea2d2a3c4c0ba727884ebc5a9ed4ebc57a..a22db7be52a15740f35e402976795f3cc59e252f 100644 --- a/src/apps/canvas/component/structure-representation.tsx +++ b/src/apps/canvas/component/structure-representation.tsx @@ -57,7 +57,7 @@ export class StructureRepresentationComponent extends React.Component<StructureR flatShaded: (repr.props as any).flatShaded, resolutionFactor: (repr.props as any).resolutionFactor, - radiusOffset: (repr.props as any).probeRadius, + radiusOffset: (repr.props as any).radiusOffset, smoothness: (repr.props as any).smoothness, }) } @@ -73,7 +73,7 @@ export class StructureRepresentationComponent extends React.Component<StructureR if (state.flatShaded !== undefined) (props as any).flatShaded = state.flatShaded if (state.resolutionFactor !== undefined) (props as any).resolutionFactor = state.resolutionFactor - if (state.radiusOffset !== undefined) (props as any).probeRadius = state.radiusOffset + if (state.radiusOffset !== undefined) (props as any).radiusOffset = state.radiusOffset if (state.smoothness !== undefined) (props as any).smoothness = state.smoothness await repr.createOrUpdate(props).run( @@ -101,7 +101,7 @@ export class StructureRepresentationComponent extends React.Component<StructureR flatShaded: (repr.props as any).flatShaded, resolutionFactor: (repr.props as any).resolutionFactor, - probeRadius: (repr.props as any).probeRadius, + radiusOffset: (repr.props as any).radiusOffset, isoValue: (repr.props as any).isoValue, } this.setState(newState)