CartGridStrategy: Early bailout to avoid wasted math at Z > height_limit
authorBryan Mayland <bmayland@capnbry.net>
Thu, 2 Aug 2018 21:36:07 +0000 (17:36 -0400)
committerBryan Mayland <bmayland@capnbry.net>
Thu, 2 Aug 2018 21:36:07 +0000 (17:36 -0400)
commit0d040a0a827afb341ba42de06eb53d37406a30e6
tree246ae36003114d64bafd4e35bfb727bdf69f750a
parent830cd4d06e99161032e0b3d602417d31c3dd3288
CartGridStrategy: Early bailout to avoid wasted math at Z > height_limit

At Z targets above height_limit, no compensation takes place. Do not calculate
the compensatated position just to throw it away.
src/modules/tools/zprobe/CartGridStrategy.cpp