From 7d7d5cf9bfc5ac177e5db076a9ec9d03d771bbf6 Mon Sep 17 00:00:00 2001 From: Alex Bilger Date: Thu, 14 Nov 2024 17:43:27 +0100 Subject: [PATCH] [Gl.Component] Swap data description in OglColorMap (#5118) --- .../src/sofa/gl/component/rendering2d/OglColorMap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sofa/GL/Component/Rendering2D/src/sofa/gl/component/rendering2d/OglColorMap.cpp b/Sofa/GL/Component/Rendering2D/src/sofa/gl/component/rendering2d/OglColorMap.cpp index fa4c6a1f262..91ba9cc396f 100644 --- a/Sofa/GL/Component/Rendering2D/src/sofa/gl/component/rendering2d/OglColorMap.cpp +++ b/Sofa/GL/Component/Rendering2D/src/sofa/gl/component/rendering2d/OglColorMap.cpp @@ -43,8 +43,8 @@ OglColorMap::OglColorMap() , d_colorScheme(initData(&d_colorScheme, "colorScheme", "Color scheme to use")) , d_showLegend(initData(&d_showLegend, false, "showLegend", "Activate rendering of color scale legend on the side")) , d_legendOffset(initData(&d_legendOffset, type::Vec2f(10.0f,5.0f),"legendOffset", "Draw the legend on screen with an x,y offset")) -, d_legendTitle(initData(&d_legendTitle,"legendTitle", "Font size of the legend (if any)")) -, d_legendSize(initData(&d_legendSize, 11u, "legendSize", "Add a title to the legend")) +, d_legendTitle(initData(&d_legendTitle,"legendTitle", "Add a title to the legend")) +, d_legendSize(initData(&d_legendSize, 11u, "legendSize", "Font size of the legend (if any)")) , d_min(initData(&d_min,0.0f,"min","min value for drawing the legend without the need to actually use the range with getEvaluator method which sets the min")) , d_max(initData(&d_max,0.0f,"max","max value for drawing the legend without the need to actually use the range with getEvaluator method which sets the max")) , d_legendRangeScale(initData(&d_legendRangeScale,1.f,"legendRangeScale","to change the unit of the min/max value of the legend"))