GCodeViewer -> Pass vertex normal to shaders for toolpaths
This commit is contained in:
parent
d41781f674
commit
69de5c8c9f
13 changed files with 431 additions and 265 deletions
src/libslic3r/GCode
|
@ -106,7 +106,12 @@ namespace Slic3r {
|
|||
{
|
||||
unsigned int id;
|
||||
std::vector<MoveVertex> moves;
|
||||
#if ENABLE_GCODE_VIEWER_STATISTICS
|
||||
long long time{ 0 };
|
||||
void reset() { time = 0; moves = std::vector<MoveVertex>(); }
|
||||
#else
|
||||
void reset() { moves = std::vector<MoveVertex>(); }
|
||||
#endif // ENABLE_GCODE_VIEWER_STATISTICS
|
||||
};
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue