We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4798f8 commit acb0101Copy full SHA for acb0101
1 file changed
src/three/TilesRenderer.js
@@ -11,6 +11,7 @@ import {
11
Euler,
12
LoadingManager,
13
EventDispatcher,
14
+ Group,
15
} from 'three';
16
import { raycastTraverse, raycastTraverseFirstHit } from './raycastTraverse.js';
17
import { readMagicBytes } from '../utilities/readMagicBytes.js';
@@ -660,6 +661,7 @@ export class TilesRenderer extends TilesRendererBase {
660
661
// any transformations applied to it can be assumed to be applied after load
662
// (such as applying RTC_CENTER) meaning they should happen _after_ the z-up
663
// rotation fix which is why "multiply" happens here.
664
+ result.scene = result.scene || new Group();
665
const { scene } = result;
666
scene.updateMatrix();
667
scene.matrix
0 commit comments