Pick using color code
Brought to you by:
neoneurone
Pick using color code instead of glLoadName (deprecated).
In modelloader generate a display list with only the geometry (without texture, normal, color).
In model add new mask for display only the geometry (using display list only geometry).
GraphicManager display structures with custom mask, DisplayTerrainSelection and DisplayStructureSelection use id with color code instead of load name opengl.
In render.cpp, function GetSelectedWLFrom use color code.