You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From discussion #830: when an agent or a user places an item with the wrong size, the only fix today is the Scale section of the item panel (packages/nodes/src/item/panel.tsx). The Dimensions row under it (W/H/D) is read-only, so to get "0.9 m wide" you have to work out the scale factor by hand.
Proposal
Make the W/H/D values in the item panel editable:
On edit, set scale[axis] = requested / asset.dimensions[axis].
Add a uniform / aspect lock. When it's on, apply the same factor to all three axes; when it's off, change only the edited axis.
Accept the usual measurement input (respecting the metric/imperial setting, like the other unit-aware inputs).
Guard against missing or zero asset.dimensions: fall back to the existing scale controls.
Keep it in the shared item panel so hosted and standalone editors behave the same.
Done when
Typing a width/height/depth updates the item's scale and the 3D/2D views.
Undo restores the previous scale in one step.
A unit test covers the scale math, including the lock and the zero-dimension guard.
Activity