1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00

Changed model extensions from .js. to .json fitting with export from

latest three.js exporter.
	725819c98d

Updated texture on new models.
This commit is contained in:
jeff 2014-11-02 19:04:32 +11:00
parent cbc4684935
commit 5cff317208
10 changed files with 1280 additions and 1344 deletions

View file

@ -222,7 +222,7 @@ TABS.setup.initialize3D = function (compatibility) {
}
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) {
model = new THREE.Mesh(geometry, new THREE.MeshFaceMaterial(materials));
} else {