mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-01-19 20:25:01 +00:00
fix scale of Item and TSStatic
This commit is contained in:
parent
29fb356d9f
commit
d0742ae480
|
|
@ -69,7 +69,7 @@ export function Item({ object }: { object: ConsoleObject }) {
|
|||
<group
|
||||
quaternion={q}
|
||||
position={[x - 1024, y, z - 1024]}
|
||||
scale={[-scaleX, scaleY, -scaleZ]}
|
||||
scale={[scaleX, scaleY, scaleZ]}
|
||||
>
|
||||
{shapeName ? (
|
||||
<ErrorBoundary fallback={<ShapePlaceholder color="red" />}>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ export function TSStatic({ object }: { object: ConsoleObject }) {
|
|||
<group
|
||||
quaternion={q}
|
||||
position={[x - 1024, y, z - 1024]}
|
||||
scale={[-scaleX, scaleY, -scaleZ]}
|
||||
scale={[scaleX, scaleY, scaleZ]}
|
||||
>
|
||||
<ErrorBoundary fallback={<ShapePlaceholder color="red" />}>
|
||||
<Suspense fallback={<ShapePlaceholder color="yellow" />}>
|
||||
|
|
|
|||
Loading…
Reference in a new issue