Skip to content

Commit

Permalink
Fix builds w/o assimp
Browse files Browse the repository at this point in the history
  • Loading branch information
jlblancoc committed Sep 21, 2024
1 parent 8ab4b3c commit 01ac53c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/opengl/src/CAssimpModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -526,8 +526,10 @@ void CAssimpModel::split_triangles_rendering_bbox(const float bbox_size)
{
m_split_triangles_rendering_bbox = bbox_size;

#if (MRPT_HAS_OPENGL_GLUT || MRPT_HAS_EGL) && MRPT_HAS_ASSIMP
CRenderizable::notifyChange();
if (m_assimp_scene->scene) after_load_model();
#endif
}

bool CAssimpModel::traceRay(
Expand Down

0 comments on commit 01ac53c

Please sign in to comment.