mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-11 19:00:04 +01:00
plugins are notified of exiting so they can save config etc
This commit is contained in:
@@ -45,6 +45,11 @@ class ShaderLoopRecordPlugin(ActionsPlugin,SequencePlugin,DisplayPlugin):
|
||||
def save_presets(self):
|
||||
self.pc.update_json(self.PRESET_FILE_NAME, self.frames)
|
||||
|
||||
def quit_plugin(self):
|
||||
super().quit_plugin()
|
||||
self.save_presets()
|
||||
|
||||
# DisplayPlugin methods
|
||||
def get_display_modes(self):
|
||||
return ['LOOPREC','NAV_LPRC']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user