2
0
Эх сурвалжийг харах

Export gltfExtensions as extras when includeCustomExtensions is false.

Robert Long 6 жил өмнө
parent
commit
79a56e692e

+ 2 - 2
examples/js/exporters/GLTFExporter.js

@@ -361,9 +361,9 @@ THREE.GLTFExporter.prototype = {
 
 					}
 
-				}
+					delete json.gltfExtensions;
 
-				delete json.gltfExtensions;
+				}
 
 				if ( Object.keys( json ).length > 0 ) {