-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adeira-source-id: 16117f1a852b2fdf32c4d9e0068cb5142a0de924
- Loading branch information
1 parent
091aa04
commit 89bd69b
Showing
6 changed files
with
65 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@triplex/renderer-r3f": patch | ||
--- | ||
|
||
Invisible scene objects can no longer be selected in the scene. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@triplex/renderer-r3f": patch | ||
--- | ||
|
||
You can now unselect by clicking on empty space. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/** | ||
* Copyright (c) Michael Dougall. All rights reserved. | ||
* | ||
* 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 { Box } from "@react-three/drei"; | ||
|
||
export const ThirdParty = () => { | ||
return <Box />; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/** | ||
* Copyright (c) Michael Dougall. All rights reserved. | ||
* | ||
* This source code is licensed under the GPL-3.0 license found in the LICENSE | ||
* file in the root directory of this source tree. | ||
*/ | ||
export function InvisibleMesh() { | ||
return ( | ||
<> | ||
<mesh name={"visible"} position={[0, 0, -1.2]} scale={[3.66, 3.04, 1]}> | ||
<boxGeometry /> | ||
</mesh> | ||
<mesh name={"invisible"} visible={false}> | ||
<boxGeometry /> | ||
</mesh> | ||
</> | ||
); | ||
} | ||
|
||
export function InvisibleParent() { | ||
return ( | ||
<> | ||
<mesh name={"visible"} position={[0, 0, -1.2]} scale={[3.66, 3.04, 1]}> | ||
<boxGeometry /> | ||
</mesh> | ||
<group visible={false}> | ||
<mesh name={"invisible"}> | ||
<boxGeometry /> | ||
</mesh> | ||
</group> | ||
</> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters