Skip to content

Commit

Permalink
Fix user land controls affecting transform controls
Browse files Browse the repository at this point in the history
adeira-source-id: 44a01567068695777d3285be7b2906dfc1f59279
  • Loading branch information
itsdouges authored and triplex-bot committed Jan 17, 2024
1 parent c353e5b commit e8a8493
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/perfect-cooks-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@triplex/renderer-r3f": patch
---

Fix userland controls affecting transform controls.
4 changes: 3 additions & 1 deletion examples/test-fixture/src/scene.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the GPL-3.0 license found in the LICENSE
* file in the root directory of this source tree.
*/
import { PerspectiveCamera } from "@react-three/drei";
import { MapControls, PerspectiveCamera } from "@react-three/drei";
import Box from "./geometry/box";

interface SceneProps {
Expand Down Expand Up @@ -37,6 +37,8 @@ export function Scene({
<meshStandardMaterial />
</mesh>
</group>

<MapControls />
</>
);
}
Expand Down

0 comments on commit e8a8493

Please sign in to comment.