supermerill / SuperSlicer

G-code generator for 3D printers (Prusa, Voron, Creality, etc.)
4.04k stars 515 forks source link

Trigger change in project upon layer-specific gcode changes (Fixes #4261) #4334

Closed TheSlashEffect closed 1 day ago

TheSlashEffect commented 3 days ago

Description of the targeted issue

As described in #4261, no change in the project is triggered when the user edits a layer-specific custom gcode. This extends to the other kinds of codes, namely pause and colour change. No change is triggered whether we add, remove, or edit any of these elements.

What this PR changes

This PR addresses the issue described above, by calling the appropriate code paths when these operations are performed.

supermerill commented 1 day ago

thank you for the fix! merged. will be in next release.

TheSlashEffect commented 1 day ago

You’re welcome, thanks for the review