Skip to content

Commit

Permalink
Use lowercase wireframe_strategy config values
Browse files Browse the repository at this point in the history
  • Loading branch information
Billiam committed Aug 6, 2019
1 parent 526925a commit 468c816
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Wireframe2gcode.cpp
Expand Up @@ -538,11 +538,11 @@ Wireframe2gcode::Wireframe2gcode(Weaver& weaver, GCodeExport& gcode)
drag_along = scene_settings.get<coord_t>("wireframe_drag_along");

strategy = STRATEGY_COMPENSATE;
if (scene_settings.get<std::string>("wireframe_strategy") == "Compensate")
if (scene_settings.get<std::string>("wireframe_strategy") == "compensate")
strategy = STRATEGY_COMPENSATE;
if (scene_settings.get<std::string>("wireframe_strategy") == "Knot")
if (scene_settings.get<std::string>("wireframe_strategy") == "knot")
strategy = STRATEGY_KNOT;
if (scene_settings.get<std::string>("wireframe_strategy") == "Retract")
if (scene_settings.get<std::string>("wireframe_strategy") == "retract")
strategy = STRATEGY_RETRACT;

go_back_to_last_top = false;
Expand Down

0 comments on commit 468c816

Please sign in to comment.