File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -1110,7 +1110,7 @@ const ViewerView = widgets.DOMWidgetView.extend({
1110
1110
const modelRepresentation = modelRepresentations [ index ]
1111
1111
if ( representation !== modelRepresentation ) {
1112
1112
modelRepresentations [ index ] = representation
1113
- this . model . set ( 'point_set_representations' , modelRepresentation )
1113
+ this . model . set ( 'point_set_representations' , modelRepresentations )
1114
1114
this . model . save_changes ( )
1115
1115
}
1116
1116
}
@@ -1424,7 +1424,6 @@ const ViewerView = widgets.DOMWidgetView.extend({
1424
1424
if ( this . model . hasOwnProperty ( 'itkVtkViewer' ) ) {
1425
1425
const point_sets = this . model . get ( 'point_sets' )
1426
1426
if ( point_sets && ! ! point_sets . length ) {
1427
- console . log ( point_set_representations )
1428
1427
point_set_representations . forEach ( ( representation , index ) => {
1429
1428
switch ( representation . toLowerCase ( ) ) {
1430
1429
case 'hidden' :
You can’t perform that action at this time.
0 commit comments