[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [834] branches/ivygen: -deleted init, sorry mindeones.
Florian Meyer
florianfelix at web.de
Thu Jul 22 04:52:48 CEST 2010
Revision: 834
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=834
Author: testscreenings
Date: 2010-07-22 04:52:46 +0200 (Thu, 22 Jul 2010)
Log Message:
-----------
-deleted init, sorry mindeones. gave me to much trouble for the moment. can discuss later
-repaired syntax error in functions
Modified Paths:
--------------
branches/ivygen/ivy_functions.py
branches/ivygen/ivy_test.py
Removed Paths:
-------------
branches/ivygen/__init__.py
Deleted: branches/ivygen/__init__.py
===================================================================
--- branches/ivygen/__init__.py 2010-07-21 23:53:50 UTC (rev 833)
+++ branches/ivygen/__init__.py 2010-07-22 02:52:46 UTC (rev 834)
@@ -1,51 +0,0 @@
-# ##### 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_functions.py
===================================================================
--- branches/ivygen/ivy_functions.py 2010-07-21 23:53:50 UTC (rev 833)
+++ branches/ivygen/ivy_functions.py 2010-07-22 02:52:46 UTC (rev 834)
@@ -160,7 +160,7 @@
######### retrieving the face and distance to the nearest face of a mesh ########
#################################################################################
-def distance(old_pos, ob)
+def distance(old_pos, ob):
distances = {}
for i, face in enumerate(obj.data.faces):
Modified: branches/ivygen/ivy_test.py
===================================================================
--- branches/ivygen/ivy_test.py 2010-07-21 23:53:50 UTC (rev 833)
+++ branches/ivygen/ivy_test.py 2010-07-22 02:52:46 UTC (rev 834)
@@ -1,4 +1,4 @@
-import bpy
+import bpy
from bpy.props import *
import mathutils
import random
@@ -383,3 +383,23 @@
#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