1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-08-02 11:35:51 +00:00

Fixed rendering of gizmo grabbers

This commit is contained in:
Lukas Matena
2021-05-28 15:44:39 +02:00
parent e1d5d0804b
commit 8c560522a3
4 changed files with 28 additions and 12 deletions
+3 -1
View File
@@ -48,7 +48,6 @@ protected:
static const float MinHalfSize;
static const float DraggingScaleFactor;
GLModel cube;
Vec3d center;
Vec3d angles;
std::array<float, 4> color;
@@ -65,6 +64,9 @@ protected:
private:
void render(float size, const std::array<float, 4>& render_color, bool picking) const;
GLModel cube;
bool cube_initialized = false;
};
public: