[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1013] tags/2_54_release/py/scripts/ addons: Port last-minute fixes from bf-extensions addons (r1010-1012) to this tag.
Nathan Letwory
nathan at letworyinteractive.com
Sat Sep 11 00:34:25 CEST 2010
Revision: 1013
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=1013
Author: jesterking
Date: 2010-09-11 00:34:25 +0200 (Sat, 11 Sep 2010)
Log Message:
-----------
Port last-minute fixes from bf-extensions addons (r1010-1012) to this tag.
Modified Paths:
--------------
tags/2_54_release/py/scripts/addons/io_export_unreal_psk_psa.py
tags/2_54_release/py/scripts/addons/object_cloud_gen.py
tags/2_54_release/py/scripts/addons/object_fracture/fracture_ops.py
Modified: tags/2_54_release/py/scripts/addons/io_export_unreal_psk_psa.py
===================================================================
--- tags/2_54_release/py/scripts/addons/io_export_unreal_psk_psa.py 2010-09-10 22:29:40 UTC (rev 1012)
+++ tags/2_54_release/py/scripts/addons/io_export_unreal_psk_psa.py 2010-09-10 22:34:25 UTC (rev 1013)
@@ -1432,33 +1432,32 @@
exporttypedata.append(("1","PSA","Export PSA"))
exporttypedata.append(("2","ALL","Export ALL"))
-IntProperty= bpy.types.Scene.IntProperty
-
-IntProperty(attr="unrealfpsrate", name="fps rate",
+bpy.types.Scene.unrealfpsrate = IntProperty(
+ name="fps rate",
description="Set the frame per second (fps) for unreal.",
default=24,min=1,max=100)
-bpy.types.Scene.EnumProperty( attr="unrealexport_settings",
+bpy.types.Scene.unrealexport_settings = EnumProperty(
name="Export:",
description="Select a export settings (psk/psa/all)...",
items = exporttypedata, default = '0')
-bpy.types.Scene.BoolProperty( attr="unrealtriangulatebool",
+bpy.types.Scene.unrealtriangulatebool = BoolProperty(
name="Triangulate Mesh",
description="Convert Quad to Tri Mesh Boolean...",
default=False)
-bpy.types.Scene.BoolProperty( attr="unrealactionexportall",
+bpy.types.Scene.unrealactionexportall = BoolProperty(
name="All Actions",
description="This let you export all actions from current armature.[Not Build Yet]",
default=False)
-bpy.types.Scene.BoolProperty( attr="unrealexportpsk",
+bpy.types.Scene.unrealexportpsk = BoolProperty(
name="bool export psa",
description="bool for exporting this psk format",
default=False)
-bpy.types.Scene.BoolProperty( attr="unrealexportpsa",
+bpy.types.Scene.unrealexportpsa = BoolProperty(
name="bool export psa",
description="bool for exporting this psa format",
default=False)
Modified: tags/2_54_release/py/scripts/addons/object_cloud_gen.py
===================================================================
--- tags/2_54_release/py/scripts/addons/object_cloud_gen.py 2010-09-10 22:29:40 UTC (rev 1012)
+++ tags/2_54_release/py/scripts/addons/object_cloud_gen.py 2010-09-10 22:34:25 UTC (rev 1013)
@@ -304,12 +304,12 @@
#cloudTypes.append(("3","Nimbus","Generate Nimbus Cloud"))
-bpy.types.Scene.BoolProperty( attr="cloudparticles",
+bpy.types.Scene.cloudparticles = BoolProperty(
name="Particles",
description="Generate Cloud as Particle System",
default=False)
-bpy.types.Scene.EnumProperty( attr="cloud_type",
+bpy.types.Scene.cloud_type = EnumProperty(
name="Type",
description="Select the type of cloud to create with material settings",
items = cloudTypes, default = '0')
Modified: tags/2_54_release/py/scripts/addons/object_fracture/fracture_ops.py
===================================================================
--- tags/2_54_release/py/scripts/addons/object_fracture/fracture_ops.py 2010-09-10 22:29:40 UTC (rev 1012)
+++ tags/2_54_release/py/scripts/addons/object_fracture/fracture_ops.py 2010-09-10 22:34:25 UTC (rev 1013)
@@ -32,7 +32,7 @@
enter_editmode=False,
location=(0, 0, 0),
rotation=(0, 0, 0),
- layer=(True, False, False, False,
+ layers=(True, False, False, False,
False, False, False, False,
False, False, False, False,
False, False, False, False,
@@ -65,7 +65,7 @@
enter_editmode=False,
location=(0, 0, 0),
rotation=(0, 0, 0),
- layer=(True, False, False, False,
+ layers=(True, False, False, False,
False, False, False, False,
False, False, False, False,
False, False, False, False,
@@ -391,13 +391,11 @@
def execute(self, context):
#getIslands(context.object)
- props = self.properties
-
- if props.exe:
+ if self.exe:
fracture_basic(context,
- props.nshards,
- props.crack_type,
- props.roughness)
+ self.nshards,
+ self.crack_type,
+ self.roughness)
return {'FINISHED'}
More information about the Bf-extensions-cvs
mailing list