Commit a4761651 authored by meta-androcto's avatar meta-androcto
Browse files

text_editor_hastebin: update 2.8x

parent a78b21df
......@@ -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()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment