mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-21 21:58:03 -06:00
Fixed rendering of gizmo grabbers
This commit is contained in:
parent
e1d5d0804b
commit
8c560522a3
4 changed files with 28 additions and 12 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue