Blender Git Commit Log

Git Commits -> Revision 1c7d7c9

Revision 1c7d7c9 by Germano Cavalcante (master)
December 29, 2021, 15:36 (GMT)
Fix T94113: Local view + Geometry Nodes is broken for instances

`GeometrySet::compute_boundbox_without_instances` may not initialize min
max in some cases such as meshes without vertices.

This can result in a Bounding Box with impossible dimensions
(min=FLT_MAX, max=-FLT_MAX).

So repeat the same solution seen in `BKE_object_boundbox_calc_from_mesh`
and set boundbox values to zero.

Reviewed By: HooglyBoogly

Differential Revision: https://developer.blender.org/D13664

Commit Details:

Full Hash: 1c7d7c915063c7f7c6c960aa843a33f3716debbe
Parent Commit: d786b48
Lines Changed: +30, -13

7 Modified Paths:

/source/blender/blenkernel/BKE_geometry_set.hh (+1, -1) (Diff)
/source/blender/blenkernel/BKE_pointcloud.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_spline.hh (+1, -1) (Diff)
/source/blender/blenkernel/intern/curve_eval.cc (+8, -2) (Diff)
/source/blender/blenkernel/intern/geometry_set.cc (+7, -5) (Diff)
/source/blender/blenkernel/intern/object.cc (+6, -2) (Diff)
/source/blender/blenkernel/intern/pointcloud.cc (+6, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021