mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 02:07:51 -06:00
Ease of use; each backend-plugin can now provide additional settings.
Any overriding cals that does so, should just add 'self.definition_file_paths' to load their additional settings. However, at the moment of this commit, you should still suppy setting_definitions_appender in the list of __init__.register for the plugin. part of CURA-10722
This commit is contained in:
parent
c15a53d349
commit
7c810eeca8
1 changed files with 2 additions and 2 deletions
|
@ -4,10 +4,10 @@ import subprocess
|
||||||
from typing import Optional, List
|
from typing import Optional, List
|
||||||
|
|
||||||
from UM.Logger import Logger
|
from UM.Logger import Logger
|
||||||
from UM.PluginObject import PluginObject
|
from UM.Settings.AdditionalSettingDefinitionAppender import AdditionalSettingDefinitionsAppender
|
||||||
|
|
||||||
|
|
||||||
class BackendPlugin(PluginObject):
|
class BackendPlugin(AdditionalSettingDefinitionsAppender):
|
||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.__port: int = 0
|
self.__port: int = 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue