From 61cd898860260a6fe69dd9f4d17e343176c8d6c2 Mon Sep 17 00:00:00 2001 From: yuckinus <40965122+yuckinus@users.noreply.github.com> Date: Fri, 27 Feb 2026 13:11:11 +0200 Subject: [PATCH 1/2] Step 2 trajectory color - restored trajectory color control as per View\trajectory menu selections - if trajectory should follow point cloud color, such menu option exists - if there is a functional bug then that bug should be addressed without removing the whole functionality which is beneficial and needed (in my opinion) --- core/src/point_cloud.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/point_cloud.cpp b/core/src/point_cloud.cpp index 8fc7905d..5dc77843 100644 --- a/core/src/point_cloud.cpp +++ b/core/src/point_cloud.cpp @@ -1723,9 +1723,9 @@ void PointCloud::render( { if (line_width > 0) { - // glColor3f(traj_color[0], traj_color[1], traj_color[2]); + glColor3f(traj_color[0], traj_color[1], traj_color[2]); - glColor3f(render_color[0], render_color[1], render_color[2]); + //glColor3f(render_color[0], render_color[1], render_color[2]); glLineWidth(line_width); glBegin(GL_LINE_STRIP); From 53381ed88a10a1f934e3064d92393f7d4a6cdc13 Mon Sep 17 00:00:00 2001 From: yuckinus <40965122+yuckinus@users.noreply.github.com> Date: Fri, 27 Feb 2026 14:16:16 +0200 Subject: [PATCH 2/2] Comment out render_color line in point_cloud.cpp Commented out the glColor3f line for render_color. --- core/src/point_cloud.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/point_cloud.cpp b/core/src/point_cloud.cpp index 5dc77843..4214ed54 100644 --- a/core/src/point_cloud.cpp +++ b/core/src/point_cloud.cpp @@ -1725,7 +1725,7 @@ void PointCloud::render( { glColor3f(traj_color[0], traj_color[1], traj_color[2]); - //glColor3f(render_color[0], render_color[1], render_color[2]); + // glColor3f(render_color[0], render_color[1], render_color[2]); glLineWidth(line_width); glBegin(GL_LINE_STRIP);