4
idm.py
4
idm.py
@@ -885,9 +885,9 @@ class IDMProbe:
|
|||||||
old_offset = self.model.offset
|
old_offset = self.model.offset
|
||||||
self.model.offset += offset
|
self.model.offset += offset
|
||||||
self.model.save(self, False)
|
self.model.save(self, False)
|
||||||
gcmd.respond_info("IDM model offset has been updated to %.5f\n"
|
gcmd.respond_info("IDM model offset has been updated to {self.model.offset}.\n"
|
||||||
"You must run the SAVE_CONFIG command now to update the\n"
|
"You must run the SAVE_CONFIG command now to update the\n"
|
||||||
"printer config file and restart the printer.")% (self.model.offset,)
|
"printer config file and restart the printer.")
|
||||||
self.model.offset = old_offset
|
self.model.offset = old_offset
|
||||||
|
|
||||||
class IDMModel:
|
class IDMModel:
|
||||||
|
|||||||
Reference in New Issue
Block a user