Skip to content

Commit

Permalink
Add missing 'perform_prime' member-variable.
Browse files Browse the repository at this point in the history
Note that this needs the updated GRPC definitions as well! -- This caused that variable to always be (re)set to false, even when no plugin was present, due to the 'identity' conversion taking place. (Maybe we should stop that in general, since that implies that we copy the data even when no plugin is present.) In any case, even if it wouldn't have caused this particular bug, it's an oversight that should be fixed anyway.

should fix CURA-11084
  • Loading branch information
rburema committed Sep 26, 2023
1 parent c2139cf commit d78bb6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plugins/converters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ gcode_paths_modify_request::value_type
gcode_path->set_retract(path.retract);
gcode_path->set_unretract_before_last_travel_move(path.unretract_before_last_travel_move);
gcode_path->set_perform_z_hop(path.perform_z_hop);
gcode_path->set_perform_prime(path.perform_prime);
gcode_path->set_skip_agressive_merge_hint(path.skip_agressive_merge_hint);
gcode_path->set_done(path.done);
gcode_path->set_fan_speed(path.getFanSpeed());
Expand Down Expand Up @@ -458,6 +459,7 @@ gcode_paths_modify_response::native_value_type
.retract = gcode_path_msg.retract(),
.unretract_before_last_travel_move = gcode_path_msg.unretract_before_last_travel_move(),
.perform_z_hop = gcode_path_msg.perform_z_hop(),
.perform_prime = gcode_path_msg.perform_prime(),
.skip_agressive_merge_hint = gcode_path_msg.skip_agressive_merge_hint(),
.done = gcode_path_msg.done(),
.fan_speed = gcode_path_msg.fan_speed(),
Expand Down

0 comments on commit d78bb6d

Please sign in to comment.