mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-27 00:24:00 -06:00
Fix DEBUG build (#3861)
* Fix asserts which would not compile. * Fix DEBUG build. Fully enable checking gcode placeholders in debug builds.
This commit is contained in:
parent
3b7b10f72f
commit
ab161d5a2b
2 changed files with 6 additions and 1 deletions
|
@ -523,6 +523,11 @@ private:
|
|||
double m_last_mm3_per_mm;
|
||||
#endif // ENABLE_GCODE_VIEWER_DATA_CHECKING
|
||||
|
||||
// Always check gcode placeholders when building in debug mode.
|
||||
#if !defined(NDEBUG)
|
||||
#define ORCA_CHECK_GCODE_PLACEHOLDERS 1
|
||||
#endif
|
||||
|
||||
#if ORCA_CHECK_GCODE_PLACEHOLDERS
|
||||
std::map<std::string, std::vector<std::string>> m_placeholder_error_messages;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue