diff options
author | Martin Poirier <theeth@yahoo.com> | 2010-08-02 06:55:12 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2010-08-02 06:55:12 +0400 |
commit | 5b345524ea4aed30aa2fc9ef735ccae82bdffeae (patch) | |
tree | 8d8e9ffbe5a0254ea78c4f4e56ba27f3f1b2db1c /release/scripts/templates/operator.py | |
parent | 9f575e5446924770d8a0d118a14100dcd7366ead (diff) |
RNA Types metaclass registration
See mailing list posts for details [1][2][3]
Addons still need to be fixed; Campbell said he'd do it today.
See any of the py files (outside netrender) in this commit for how to do it (it's rather simple).
[1] http://lists.blender.org/pipermail/bf-committers/2010-February/026328.html
[2] http://lists.blender.org/pipermail/bf-committers/2010-August/028311.html
[3] http://lists.blender.org/pipermail/bf-committers/2010-August/028321.html
Diffstat (limited to 'release/scripts/templates/operator.py')
-rw-r--r-- | release/scripts/templates/operator.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/release/scripts/templates/operator.py b/release/scripts/templates/operator.py index e20b92c9b6a..038e76bd6d3 100644 --- a/release/scripts/templates/operator.py +++ b/release/scripts/templates/operator.py @@ -55,7 +55,6 @@ class ExportSomeData(bpy.types.Operator): -bpy.types.register(ExportSomeData) # Only needed if you want to add into a dynamic menu menu_func = lambda self, context: self.layout.operator("export.some_data", text="Example Exporter...") |