Build on top of #2520 and replaces it.
This PR includes:
- Rewrite the opengl rendering code, which now renders (almost)
everything using shaders instead of legacy opengl function calls
- Rewriting the gizmo mouse handling code that moves the mouse handling
coding into each gizmo themselves
- Rewriting the mouse picking code, now it uses ray casting to figure
out what's under the mouse cursor
- Porting of the PrusaSlicer's measure tool
- Replacing existing cuting tool with the better one PrusaSlicer has
- Updating of other gizmos using PrusaSlicer's latest code base
There was a plan to also port PrusaSlicer's emboss & svg tools, but this
PR is already very big and the changes needed for emboss will be even
bigger and might take forever to finish. So I decided to separate them
so we can get something out and start rolling out testing builds for
people to play with as soon as possible.
This was developed mainly using Windows, be prepared it could have
graphic issue under Linux & macOS.
Huge credit to Prusa for their amazing job!



Fixes#717Fixes#1150Fixes#1590
* MM - Add check for first layer
* Change: If no sparse layer is on -> Respect the toolchange in the first-layer checkup, to use a brim and slow down printspeed if using a primetower
* Fix comment
* Restructured Flashforge process profiles
* Fixed typo in machine profiles
* Changed skirt loops to 2
Based on best practise (other profiles), I have changed the number of skirt loops from 1 to 2
* Add a new brand named Flyingbear
Add a new brand named Flyingbear
Model name: Flyingbear Reborn3
* Update fdm_machine_common.json
fix
z_hop 0,2(2)
* make bed model smaller and set default internal_solid_infill_pattern to monotonic
---------
Co-authored-by: SoftFever <softfeverever@gmail.com>
* Update OrcaSlicer_tr.po
Missing fields in Turkish are filled in and word errors are improved.
* Update OrcaSlicer_tr.po
Editing the missing and incorrect parts in the Turkish language file.
* Update OrcaSlicer_tr.po
Editing the missing and incorrect parts in the Turkish language file.
* Update OrcaSlicer_tr.po
The bug on line 6082 has been fixed.
* Update OrcaSlicer_tr.po
character fixes