mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-07-15 08:24:51 +00:00
Fix terrain position
This commit is contained in:
parent
b71677798d
commit
44883be6c6
1 changed files with 1 additions and 1 deletions
|
|
@ -221,7 +221,7 @@ export function TerrainBlock({ object }: { object: ConsoleObject }) {
|
||||||
return (
|
return (
|
||||||
<mesh
|
<mesh
|
||||||
quaternion={q}
|
quaternion={q}
|
||||||
position={position}
|
position={[position[0], 0, position[2]]} // Y up is unused for terrain
|
||||||
scale={scale}
|
scale={scale}
|
||||||
geometry={planeGeometry}
|
geometry={planeGeometry}
|
||||||
receiveShadow
|
receiveShadow
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue