Update plugin's register functions to return the object instance instead of performing the registration themselves

This commit is contained in:
Arjen Hiemstra 2015-03-03 14:51:47 +01:00
parent bd4459709f
commit 020015cccc

View File

@ -4,4 +4,4 @@ def getMetaData():
return { "name": "LayerView", "type": "View" }
def register(app):
app.getController().addView("LayerView", LayerView.LayerView())
return LayerView.LayerView()