fix scale of Item and TSStatic

This commit is contained in:
Brian Beck 2025-11-15 16:22:29 -08:00
parent 29fb356d9f
commit d0742ae480
2 changed files with 2 additions and 2 deletions

View file

@ -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" />}>

View file

@ -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" />}>