diff --git a/core/src/raylib_render.cpp b/core/src/raylib_render.cpp index 3a0a2110..af02de29 100644 --- a/core/src/raylib_render.cpp +++ b/core/src/raylib_render.cpp @@ -763,6 +763,7 @@ void ScanRenderer::drawTrajectories( if (traj.vertexCount > 0) { + rlEnableShader(shader_.id); if (useInitialPose) { const Eigen::Affine3d delta = pc.m_initial_pose * pc.m_pose.inverse();