[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [822] branches/ivygen/ivy_test.py: - added start for computeAdhesion code
Florian Meyer
florianfelix at web.de
Tue Jul 20 23:33:40 CEST 2010
Revision: 822
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=822
Author: testscreenings
Date: 2010-07-20 23:33:40 +0200 (Tue, 20 Jul 2010)
Log Message:
-----------
- added start for computeAdhesion code
Modified Paths:
--------------
branches/ivygen/ivy_test.py
Modified: branches/ivygen/ivy_test.py
===================================================================
--- branches/ivygen/ivy_test.py 2010-07-20 21:21:36 UTC (rev 821)
+++ branches/ivygen/ivy_test.py 2010-07-20 21:33:40 UTC (rev 822)
@@ -327,6 +327,10 @@
def execute(self, context):
print('\n____________START_____________')
+ # turn off undo
+ undo = bpy.context.user_preferences.edit.global_undo
+ bpy.context.user_preferences.edit.global_undo = False
+
props = self.properties
data = []
print(props)
@@ -339,6 +343,8 @@
main(context, props, data)
+
+ bpy.context.user_preferences.edit.global_undo = undo
return {'FINISHED'}
More information about the Bf-extensions-cvs
mailing list