Skip to content

Commit

Permalink
fix: allow colorize temporary model
Browse files Browse the repository at this point in the history
  • Loading branch information
lvjonok committed Dec 25, 2024
1 parent 8273838 commit b9f94d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -896,8 +896,8 @@ def display_settings(self):
self.view.colorize_angle_value.setText(str(s.slicing.angle))

def colorize_model(self):
shutil.copyfile(PathBuilder.stl_model(), PathBuilder.colorizer_stl())
self.save_settings("vip")
shutil.copyfile(PathBuilder.stl_model_temp(), PathBuilder.colorizer_stl())
self.save_settings("vip", PathBuilder.settings_file_temp())

p = Process(PathBuilder.colorizer_cmd()).wait()
if p.returncode:
Expand Down

0 comments on commit b9f94d5

Please sign in to comment.