[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [831] branches/ivygen: == ivygen ==

Luca Bonavita mindrones at gmail.com
Wed Jul 21 12:34:25 CEST 2010


Revision: 831
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=831
Author:   mindrones
Date:     2010-07-21 12:34:25 +0200 (Wed, 21 Jul 2010)

Log Message:
-----------
== ivygen ==

made it a package so it's easier to follow the development
good job florian :)

Modified Paths:
--------------
    branches/ivygen/ivy_test.py

Added Paths:
-----------
    branches/ivygen/__init__.py

Added: branches/ivygen/__init__.py
===================================================================
--- branches/ivygen/__init__.py	                        (rev 0)
+++ branches/ivygen/__init__.py	2010-07-21 10:34:25 UTC (rev 831)
@@ -0,0 +1,51 @@
+# ##### BEGIN GPL LICENSE BLOCK #####
+#
+#  This program is free software; you can redistribute it and/or
+#  modify it under the terms of the GNU General Public License
+#  as published by the Free Software Foundation; either version 2
+#  of the License, or (at your option) any later version.
+#
+#  This program is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#  GNU General Public License for more details.
+#
+#  You should have received a copy of the GNU General Public License
+#  along with this program; if not, write to the Free Software Foundation,
+#  Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# ##### END GPL LICENSE BLOCK #####
+
+bl_addon_info = {
+    'name': 'Object: Ivygen',
+    'author': 'testscreenings',
+    'version': '1',
+    'blender': (2, 5, 3),
+    'location': '',
+    'description': 'Ivy generator',
+    'warning': '', # used for warning icon and text in addons panel
+    'wiki_url': 'http://wiki.blender.org/index.php/'\
+        'User:Testscreenings/Ivy_port',
+    'tracker_url': '',
+    'category': 'Object'}
+
+import bpy
+from ivy_test import *
+
+
+ivy_test_button2 = (lambda self, context: self.layout.operator
+            (ivy_test2.bl_idname, text="ivy_test2", icon="PLUGIN"))
+
+
+def register():
+    bpy.types.register(ivy_test2)
+    bpy.types.VIEW3D_PT_tools_objectmode.prepend(ivy_test_button2) #just for testing
+
+
+def unregister():
+    bpy.types.unregister(ivy_test2)
+    bpy.types.VIEW3D_PT_tools_objectmode.remove(ivy_test_button2) #just for testing
+
+
+if __name__ == "__main__":
+    register()

Modified: branches/ivygen/ivy_test.py
===================================================================
--- branches/ivygen/ivy_test.py	2010-07-21 09:32:09 UTC (rev 830)
+++ branches/ivygen/ivy_test.py	2010-07-21 10:34:25 UTC (rev 831)
@@ -383,24 +383,3 @@
         #bpy.context.user_preferences.edit.global_undo = undo
         
         return {'FINISHED'}
-
-
-
-
-#############################################
-ivy_test_button2 = (lambda self, context: self.layout.operator
-            (ivy_test2.bl_idname, text="ivy_test2", icon="PLUGIN"))
-
-
-def register():
-    bpy.types.register(ivy_test2)
-    bpy.types.VIEW3D_PT_tools_objectmode.prepend(ivy_test_button2) #just for testing
-
-
-def unregister():
-    bpy.types.unregister(ivy_test2)
-    bpy.types.VIEW3D_PT_tools_objectmode.remove(ivy_test_button2) #just for testing
-
-
-if __name__ == "__main__":
-    register()
\ No newline at end of file




More information about the Bf-extensions-cvs mailing list