Changed model extensions from `.js.` to `.json` fitting with export from
latest three.js exporter.
725819c98d
Updated texture on new models.
10.3.x-maintenance
parent
cbc4684935
commit
5cff317208
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -222,7 +222,7 @@ TABS.setup.initialize3D = function (compatibility) {
|
||||||
}
|
}
|
||||||
|
|
||||||
loader = new THREE.JSONLoader();
|
loader = new THREE.JSONLoader();
|
||||||
loader.load('./resources/models/' + model_file + '.js', function (geometry, materials) {
|
loader.load('./resources/models/' + model_file + '.json', function (geometry, materials) {
|
||||||
if (!fallback) {
|
if (!fallback) {
|
||||||
model = new THREE.Mesh(geometry, new THREE.MeshFaceMaterial(materials));
|
model = new THREE.Mesh(geometry, new THREE.MeshFaceMaterial(materials));
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue