mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-11 19:00:04 +01:00
tidy up + change way plugins are found+listed, solves some problems, plugins use the active status to indicate disabled and now have start/stop methods (seems to work to stop+restart Sound+WJ ok, needs restart to get MidiFeedback working if its disabled? needs more tidying up and testing and fixing
This commit is contained in:
@@ -4,7 +4,6 @@ import copy
|
||||
from plugins.frame_manager import Frame
|
||||
|
||||
class ShaderQuickPresetPlugin(ActionsPlugin): #,SequencePlugin):
|
||||
disabled = False
|
||||
|
||||
MAX_PRESETS = 8
|
||||
|
||||
@@ -25,8 +24,8 @@ class ShaderQuickPresetPlugin(ActionsPlugin): #,SequencePlugin):
|
||||
def save_presets(self):
|
||||
self.pc.update_json(self.PRESET_FILE_NAME, self.presets)
|
||||
|
||||
def quit_plugin(self):
|
||||
super().quit_plugin()
|
||||
def stop_plugin(self):
|
||||
super().stop_plugin()
|
||||
self.save_presets()
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user