Skip to content

Commit

Permalink
feat(composer): support enhanced editing in Matterport scene
Browse files Browse the repository at this point in the history
  • Loading branch information
mukeshsahay committed Jun 2, 2023
1 parent 44dadfb commit 933deb7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/scene-composer/src/components/WebGLCanvasManager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import * as awsui from '@awsui/design-tokens';
import React, { useContext, useEffect, useRef } from 'react';
import { GizmoHelper, GizmoViewport } from '@react-three/drei';
import { ThreeEvent, useThree } from '@react-three/fiber';
import { MatterportModel } from '@matterport/r3f/dist';

import { KnownSceneProperty } from '../interfaces';
import useLifecycleLogging from '../logger/react-logger/hooks/useLifecycleLogging';
Expand Down Expand Up @@ -121,6 +122,7 @@ export const WebGLCanvasManager: React.FC = () => {
<planeGeometry args={[1000, 1000]} />
<meshBasicMaterial colorWrite={false} />
</mesh>
{enableMatterportViewer && <MatterportModel onClick={onClick} />}
</React.Fragment>
<IntlProvider locale={getGlobalSettings().locale}>
<SceneInfoView />
Expand Down

0 comments on commit 933deb7

Please sign in to comment.