Skip to content

Commit cc3c5d8

Browse files
author
Martin Sandve Alnæs
committed
Bugfix: let BlackboxModel create an Object3D instead of a non-existing THREE.Blackbox.
1 parent 8ac202c commit cc3c5d8

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)