diff --git a/modules/gfx/pymod/export_entity.cc b/modules/gfx/pymod/export_entity.cc index 6202bd1cc4d353d61b673c78d68b402ecbc7b137..d8ee109298405de304b4b7e178671b1f4388141f 100644 --- a/modules/gfx/pymod/export_entity.cc +++ b/modules/gfx/pymod/export_entity.cc @@ -360,6 +360,8 @@ void export_Entity() .def("IsRenderModeEnabled", &Entity::IsRenderModeEnabled) .def("SetVisible", set_vis1, (arg("view"), arg("flag")=true)) .def("SetVisible", set_vis2, (arg("sel"), arg("flag")=true)) + .def("ColorBy", color_by_10) // this line must be before color_by_01 because + // of boost python overload resolution .def("ColorBy", color_by_01) .def("ColorBy", color_by_02) .def("ColorBy", color_by_03) @@ -369,7 +371,6 @@ void export_Entity() .def("ColorBy", color_by_07) .def("ColorBy", color_by_08) .def("ColorBy", color_by_09) - .def("ColorBy", color_by_10) .def("DetailColorBy", detail_color_by_02) COLOR_BY_DEF() .def("RadiusBy", radius_by_01)