bug fix
This commit is contained in:
@@ -5,7 +5,7 @@ import Controls from '../controls/controls';
|
|||||||
import { AdaptiveDpr, AdaptiveEvents, Environment } from '@react-three/drei'
|
import { AdaptiveDpr, AdaptiveEvents, Environment } from '@react-three/drei'
|
||||||
|
|
||||||
import background from "../../../assets/textures/hdr/mudroadpuresky2k.hdr";
|
import background from "../../../assets/textures/hdr/mudroadpuresky2k.hdr";
|
||||||
// import { Perf } from 'r3f-perf';
|
import { Perf } from 'r3f-perf';
|
||||||
|
|
||||||
function Setup() {
|
function Setup() {
|
||||||
return (
|
return (
|
||||||
@@ -18,7 +18,7 @@ function Setup() {
|
|||||||
|
|
||||||
<PostProcessing />
|
<PostProcessing />
|
||||||
|
|
||||||
{/* <Perf position="bottom-left" className="scene-performance-stats"/> */}
|
<Perf position="bottom-left" className="scene-performance-stats"/>
|
||||||
|
|
||||||
{/* <MovingClouds /> */}
|
{/* <MovingClouds /> */}
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,6 @@ const KeyPressListener: React.FC = () => {
|
|||||||
const { toggleView, setToggleView } = useToggleView();
|
const { toggleView, setToggleView } = useToggleView();
|
||||||
const { setAddAction } = useAddAction();
|
const { setAddAction } = useAddAction();
|
||||||
const { setSelectedWallItem } = useSelectedWallItem();
|
const { setSelectedWallItem } = useSelectedWallItem();
|
||||||
const { selectedAssets } = useSelectedAssets();
|
|
||||||
const { setActiveTool } = useActiveTool();
|
const { setActiveTool } = useActiveTool();
|
||||||
const { clearSelectedZone } = useSelectedZoneStore();
|
const { clearSelectedZone } = useSelectedZoneStore();
|
||||||
const { showShortcuts, setShowShortcuts } = useShortcutStore();
|
const { showShortcuts, setShowShortcuts } = useShortcutStore();
|
||||||
|
|||||||
Reference in New Issue
Block a user