|
@@ -1,7 +1,4 @@
|
|
-import {
|
|
|
|
- DoubleSide
|
|
|
|
-} from 'three';
|
|
|
|
-
|
|
|
|
|
|
+import * as THREE from 'three';
|
|
import * as fflate from '../libs/fflate.module.js';
|
|
import * as fflate from '../libs/fflate.module.js';
|
|
|
|
|
|
class USDZExporter {
|
|
class USDZExporter {
|
|
@@ -507,7 +504,7 @@ function buildMaterial( material, textures ) {
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
- if ( material.side === DoubleSide ) {
|
|
|
|
|
|
+ if ( material.side === THREE.DoubleSide ) {
|
|
|
|
|
|
console.warn( 'THREE.USDZExporter: USDZ does not support double sided materials', material );
|
|
console.warn( 'THREE.USDZExporter: USDZ does not support double sided materials', material );
|
|
|
|
|