Skip to content

Commit 1de1486

Browse files
Fix data texture
1 parent 6bd5bee commit 1de1486

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pythreejs.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -626,8 +626,7 @@ require(["threejs-all", "notebook/js/widgets/widget"], function() {
626626
}
627627
dataArr.set(this.model.get('data'));
628628

629-
this.set_properties.push(dataArr);
630-
this.scalar_properties.push('data', 'anisotropy', 'width', 'height');
629+
this.scalar_properties.push(dataArr, 'data', 'anisotropy', 'width', 'height');
631630
this.enum_properties.push('type', 'format', 'mapping', 'wrapS', 'wrapT', 'magFilter', 'minFilter');
632631
this.child_properties.push('map');
633632
},

0 commit comments

Comments
 (0)