mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Update plugins/PostProcessingPlugin/scripts/UsePrevProbeMeasure.py
Co-Authored-By: adecastilho <familydecastilho@gmail.com>
This commit is contained in:
parent
8a45a4e06f
commit
6e011352af
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class UsePreviousProbeMeasurements(Script):
|
|||
|
||||
def execute(self, data):
|
||||
text = "M501 ;load bed level data\nM420 S1 ;enable bed leveling"
|
||||
if self.getSettingValueByKey("usePrevMeas"):
|
||||
if self.getSettingValueByKey("use_previous_measurements"):
|
||||
for layer in data:
|
||||
layer_index = data.index(layer)
|
||||
lines = layer.split("\n")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue