Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Gizmo scale grabber connections

This commit is contained in:
enricoturri1966 2022-01-20 08:28:50 +01:00
parent 0b6e2b4aec
commit 81edc7d752
5 changed files with 202 additions and 73 deletions

View file

@ -34,7 +34,8 @@ std::pair<bool, std::string> GLShadersManager::init()
bool valid = true;
#if ENABLE_GLBEGIN_GLEND_REMOVAL
// basic shader, used to render selection bbox
// basic shader, used to render selection bbox, gizmo cut plane and grabbers connections,
// gizmo move grabbers connections, gizmo scale grabbers connections
valid &= append_shader("flat", { "flat.vs", "flat.fs" });
#endif // ENABLE_GLBEGIN_GLEND_REMOVAL
// used to render bed axes and model, selection hints, gcode sequential view marker model, preview shells, options in gcode preview