Fixed rendering of layer editing profile

This commit is contained in:
enricoturri1966 2023-01-31 11:28:08 +01:00
parent 73810cd262
commit a0171e069b
2 changed files with 16 additions and 7 deletions

View file

@ -249,7 +249,13 @@ class GLCanvas3D
GLModel baseline;
GLModel profile;
GLModel background;
float old_canvas_width{ 0.0f };
struct OldCanvasWidth
{
float background{ 0.0f };
float baseline{ 0.0f };
float profile{ 0.0f };
};
OldCanvasWidth old_canvas_width;
std::vector<double> old_layer_height_profile;
};
Profile m_profile;