mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Update plugin's register functions to return the object instance instead of performing the registration themselves
This commit is contained in:
parent
bd4459709f
commit
020015cccc
1 changed files with 1 additions and 1 deletions
|
|
@ -4,4 +4,4 @@ def getMetaData():
|
|||
return { "name": "LayerView", "type": "View" }
|
||||
|
||||
def register(app):
|
||||
app.getController().addView("LayerView", LayerView.LayerView())
|
||||
return LayerView.LayerView()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue