[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [3655] contrib/py/scripts/addons: code cleanup
Campbell Barton
ideasman42 at gmail.com
Sun Jul 29 14:05:45 CEST 2012
Revision: 3655
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=3655
Author: campbellbarton
Date: 2012-07-29 12:05:45 +0000 (Sun, 29 Jul 2012)
Log Message:
-----------
code cleanup
Modified Paths:
--------------
contrib/py/scripts/addons/io_scene_ms3d/ms3d_import.py
contrib/py/scripts/addons/mesh_bevel_round.py
contrib/py/scripts/addons/mesh_extrude_along_curve.py
contrib/py/scripts/addons/space_view3d_game_props_visualiser.py
Modified: contrib/py/scripts/addons/io_scene_ms3d/ms3d_import.py
===================================================================
--- contrib/py/scripts/addons/io_scene_ms3d/ms3d_import.py 2012-07-29 12:04:38 UTC (rev 3654)
+++ contrib/py/scripts/addons/io_scene_ms3d/ms3d_import.py 2012-07-29 12:05:45 UTC (rev 3655)
@@ -565,7 +565,6 @@
return blender_mesh_object
-
###########################################################################
def create_animation(self, blender_context, ms3d_model, blender_mesh_object):
##########################
@@ -716,7 +715,6 @@
blender_edit_bone_parent = ms3d_joint_parent.blender_edit_bone
blender_edit_bone.parent = blender_edit_bone_parent
-
ms3d_joint.blender_bone_name = blender_edit_bone.name
ms3d_joint.blender_edit_bone = blender_edit_bone
enable_edit_mode(False)
@@ -750,7 +748,6 @@
if ms3d_comment is not None:
blender_bone.ms3d.comment = ms3d_comment.comment
-
##########################
if not self.options.prop_animation:
return blender_armature_object
Modified: contrib/py/scripts/addons/mesh_bevel_round.py
===================================================================
--- contrib/py/scripts/addons/mesh_bevel_round.py 2012-07-29 12:04:38 UTC (rev 3654)
+++ contrib/py/scripts/addons/mesh_bevel_round.py 2012-07-29 12:05:45 UTC (rev 3655)
@@ -2377,7 +2377,7 @@
crv = crv1[1:3] + crv2 + crv1[6:]
return crv
- def print(self):
+ def print(self): # XXX - better call something else
print("BevelRoundAlgo:")
print("offset", self.offset)
print("num_seg", self.num_seg)
Modified: contrib/py/scripts/addons/mesh_extrude_along_curve.py
===================================================================
--- contrib/py/scripts/addons/mesh_extrude_along_curve.py 2012-07-29 12:04:38 UTC (rev 3654)
+++ contrib/py/scripts/addons/mesh_extrude_along_curve.py 2012-07-29 12:05:45 UTC (rev 3655)
@@ -168,7 +168,7 @@
# Get the faces to be modified
fprev = f
- no = f.normal.copy()
+ # no = f.normal.copy()
faces = [f.copy() for i in range(res)]
# Offset if we need to snap to the face
Modified: contrib/py/scripts/addons/space_view3d_game_props_visualiser.py
===================================================================
--- contrib/py/scripts/addons/space_view3d_game_props_visualiser.py 2012-07-29 12:04:38 UTC (rev 3654)
+++ contrib/py/scripts/addons/space_view3d_game_props_visualiser.py 2012-07-29 12:05:45 UTC (rev 3655)
@@ -74,7 +74,7 @@
total_mat = view_mat*ob_mat
for p in ob.game.properties:
- d=0.0#{'data':p.name+':'+str(p.value)}
+ # d = {'data':p.name+':'+str(p.value)}
# print (d)
locs.append([ mathutils.Vector([0,0,0]).resize_4d()])
More information about the Bf-extensions-cvs
mailing list