Skip to content

Commit af06664

Browse files
authored
Merge pull request #116 from martinal/auto-gen-wrappers
Bugfix: make BlackboxModel create an Object3D instead of Blackbox
2 parents 28193ff + cc3c5d8 commit af06664

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

js/src/objects/Blackbox.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ var BlackboxModel = BlackboxAutogen.extend({
3030
},
3131

3232

33+
constructThreeObject: function() {
34+
35+
var result = new THREE.Object3D();
36+
return Promise.resolve(result);
37+
38+
},
39+
3340
createPropertiesArrays: function() {
3441

3542
BlackboxAutogen.prototype.createPropertiesArrays.call(this);

0 commit comments

Comments
 (0)