]> SALOME platform Git repositories - modules/geom.git/commit
Salome HOME
[bos #43299][FORUM] Now after SetAutoColor(1) we can get automatically generated... kleontev/43299_geom_GetColor_wrong_result master 30/head
authorKonstantin Leontev <Konstantin.LEONTEV@opencascade.com>
Thu, 7 Nov 2024 09:02:05 +0000 (09:02 +0000)
committerKonstantin Leontev <Konstantin.LEONTEV@opencascade.com>
Fri, 8 Nov 2024 10:39:12 +0000 (10:39 +0000)
commit512bf4c67a93b3a2c2d9120d4d2ec41ddfbf8cc5
tree4f24006c1e4e35a65caf9779c9da33cb7262871b
parent67feb126ffd2576ffed52986c4906be13db2371d
[bos #43299][FORUM] Now after SetAutoColor(1) we can get automatically generated color back by GetColor() call. Previous implementation didn't set a color to an object, but calculated it only for a viewer.
12 files changed:
src/GEOM/CMakeLists.txt
src/GEOM/GEOM_ColorUtils.cxx [new file with mode: 0644]
src/GEOM/GEOM_ColorUtils.hxx [new file with mode: 0644]
src/GEOM/GEOM_Object.cxx
src/GEOM/GEOM_Object.hxx
src/GEOMGUI/CMakeLists.txt
src/GEOMGUI/GEOM_Displayer.cxx
src/GEOMGUI/GEOM_Displayer.h
src/GEOMToolsGUI/CMakeLists.txt
src/GEOMToolsGUI/GEOMToolsGUI_1.cxx
test/test_set_autocolor.py [new file with mode: 0644]
test/tests.set