exclude hidden objects from .msh bounding box
This commit is contained in:
parent
04db2f2739
commit
e4ec3339d9
|
@ -70,7 +70,7 @@ def create_scene_aabb(scene: Scene) -> SceneAABB:
|
|||
global_aabb = SceneAABB()
|
||||
|
||||
for model in scene.models:
|
||||
if model.geometry is None:
|
||||
if model.geometry is None or model.hidden:
|
||||
continue
|
||||
|
||||
model_world_matrix = get_model_world_matrix(model, scene.models)
|
||||
|
|
Loading…
Reference in New Issue