update to make it work with Blender 2.54
authorDalai Felinto <dfelinto@gmail.com>
Fri, 10 Sep 2010 22:45:38 +0000 (22:45 +0000)
committerDalai Felinto <dfelinto@gmail.com>
Fri, 10 Sep 2010 22:45:38 +0000 (22:45 +0000)
text_editor_pasteall.py

index c3577d6f8362e42a9fff01d2d0e919947ca95b64..7f4826bc0e10e7900b652e9ab24afe843a7c7fc3 100644 (file)
@@ -37,8 +37,8 @@ bl_addon_info = {
     "name": "PasteAll",
     "author": "Dalai Felinto (dfelinto)",
     "version": (0,5),
     "name": "PasteAll",
     "author": "Dalai Felinto (dfelinto)",
     "version": (0,5),
-    "blender": (2, 5, 3),
-    "api": 31525,
+    "blender": (2, 5, 4),
+    "api": 31865,
     "location": "Text editor > Properties panel",
     "description": "Send your selection or text to www.pasteall.org",
     "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/"\
     "location": "Text editor > Properties panel",
     "description": "Send your selection or text to www.pasteall.org",
     "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/"\
@@ -204,7 +204,7 @@ class PasteAllOperator(bpy.types.Operator):
         return extensions.get(type, '0')
 
 def register():
         return extensions.get(type, '0')
 
 def register():
-    bpy.types.Scene.BoolProperty(attr='use_webbrowser',
+    bpy.types.Scene.use_webbrowser = bpy.props.BoolProperty(
         name='Launch Browser',
         description='Opens the page with the submitted text.',
         default=True)
         name='Launch Browser',
         description='Opens the page with the submitted text.',
         default=True)
@@ -214,3 +214,4 @@ def unregister():
 
 if __name__ == "__main__":
     register()
 
 if __name__ == "__main__":
     register()
+