exclude hidden objects from .msh bounding box

This commit is contained in:
SleepKiller 2019-11-20 02:36:17 +13:00
parent 04db2f2739
commit e4ec3339d9
1 changed files with 1 additions and 1 deletions

View File

@ -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)