Fixes setting object bound dimensions using Multiple Value Edition from UI. #117731

Open
Jaume Bellet wants to merge 1 commits from JaumeBellet/blender:pr-0019-object-dimensions-set-fix into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

1 Commits

Author SHA1 Message Date
Jaume Bellet 37c4f67821 Fixes setting object bound dimensions using Multiple Value Edition from UI.
Was failing, according to message set on RNA info due to cached values.

Solves it resetting the cached bounds, and updating the local
object_to_world matrix.

It does not recompute the min-max values based on geometry as this
stored on another cache and is not necessary because current
implementations works changing the scale vector of the object. The
matrix must be set to match the scale, as the value is recovered just
after set.

It also adds the values on Object Panel.
2024-02-01 19:20:01 +01:00