Skip to content

Commit

Permalink
Fix wrong init temperature without prime blob
Browse files Browse the repository at this point in the history
  • Loading branch information
wawanbreton committed Jan 12, 2024
1 parent f31b2c6 commit 0da43e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LayerPlanBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ void LayerPlanBuffer::insertTempCommands()

if (initial_print_temp == 0.0 // user doesn't want to use initial print temp feature
|| extruder_settings.get<bool>("machine_extruders_share_heater") // ignore initial print temps when extruders share a heater
|| ! extruder_used_in_meshgroup_[extruder] // prime blob uses print temp rather than initial print temp
|| (! extruder_used_in_meshgroup_[extruder] && extruder_settings.get<bool>("prime_blob_enable")) // prime blob uses print temp rather than initial print temp
|| (overall_extruder_plan_idx > 0 && extruder_plans[overall_extruder_plan_idx - 1]->extruder_nr_ == extruder // prev plan has same extruder ..
&& extruder_plans[overall_extruder_plan_idx - 1]->estimates_.getTotalUnretractedTime() > 0.0) // and prev extruder plan already heated to printing temperature
)
Expand Down

1 comment on commit 0da43e6

@rburema
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'C++ Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.25.

Benchmark suite Current: 0da43e6 Previous: 0265e74 Ratio
SimplifyTestFixture/simplify_slot_noplugin 1.239515644220456 ns/iter 0.9503727934906752 ns/iter 1.30

This comment was automatically generated by workflow using github-action-benchmark.

CC: @nallath @jellespijker @wawanbreton @casperlamboo @saumyaj3 @HellAholic

Please sign in to comment.