[Bf-extensions-cvs] [a4761651] master: text_editor_hastebin: update 2.8x
meta-androcto
noreply at git.blender.org
Sun Sep 15 07:55:44 CEST 2019
Commit: a4761651ce855af8a363c184db7880d0b8e6d86a
Author: meta-androcto
Date: Sun Sep 15 15:55:28 2019 +1000
Branches: master
https://developer.blender.org/rBACa4761651ce855af8a363c184db7880d0b8e6d86a
text_editor_hastebin: update 2.8x
===================================================================
M text_editor_hastebin.py
===================================================================
diff --git a/text_editor_hastebin.py b/text_editor_hastebin.py
index 9c97a70d..b775a579 100644
--- a/text_editor_hastebin.py
+++ b/text_editor_hastebin.py
@@ -20,7 +20,7 @@ bl_info = {
"name": "hastebin",
"author": "Dalai Felinto (dfelinto)",
"version": (0, 8),
- "blender": (2, 78, 0),
+ "blender": (2, 80, 0),
"location": "Text editor > Properties panel",
"description": "Send your selection or text to hastebin.com",
"wiki_url": "http://wiki.blender.org/index.php/Extensions:2.6/Py/"
@@ -156,12 +156,14 @@ def register():
description='Opens the page with the submitted text',
default=True)
- bpy.utils.register_module(__name__)
+ bpy.utils.register_class(TEXT_PT_hastebin)
+ bpy.utils.register_class(TEXT_OT_hastebin)
def unregister():
del bpy.types.Scene.use_webbrowser
- bpy.utils.unregister_module(__name__)
+ bpy.utils.unregister_class(TEXT_PT_hastebin)
+ bpy.utils.unregister_class(TEXT_OT_hastebin)
if __name__ == "__main__":
register()
More information about the Bf-extensions-cvs
mailing list