leozide / leocad

A CAD application for creating virtual LEGO models
https://www.leocad.org
2.49k stars 211 forks source link

in place editing (root model level) does not focus on submodel when asked to #953

Closed nathaneltitane closed 1 week ago

nathaneltitane commented 4 weeks ago

Describe the bug editing a submodel in 'in-place' mode and asking the camera for a predetermined POV (home, left, right, etc) does not focus the submodel properly when submodel level is at root (submodel3 in this example)

(model(submodel1(submodel2(submodel3[root])))

Expected behavior when last submodel entry is reached from in-place recurse and asking the camera for a preset view, camera should frame entirety of models according to its bounding box parameter

Screenshots image

press 'r' for right POV

image

when it should normally be

image

Version (please complete the following information):