[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1014] contrib/py/scripts/addons/ text_editor_pasteall.py: update to make it work with Blender 2.54

Dalai Felinto dfelinto at gmail.com
Sat Sep 11 00:45:39 CEST 2010


Revision: 1014
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=1014
Author:   dfelinto
Date:     2010-09-11 00:45:38 +0200 (Sat, 11 Sep 2010)

Log Message:
-----------
update to make it work with Blender 2.54

Modified Paths:
--------------
    contrib/py/scripts/addons/text_editor_pasteall.py

Modified: contrib/py/scripts/addons/text_editor_pasteall.py
===================================================================
--- contrib/py/scripts/addons/text_editor_pasteall.py	2010-09-10 22:34:25 UTC (rev 1013)
+++ contrib/py/scripts/addons/text_editor_pasteall.py	2010-09-10 22:45:38 UTC (rev 1014)
@@ -37,8 +37,8 @@
     "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/"\
@@ -204,7 +204,7 @@
         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)
@@ -214,3 +214,4 @@
 
 if __name__ == "__main__":
     register()
+




More information about the Bf-extensions-cvs mailing list