code cleanup
authorCampbell Barton <ideasman42@gmail.com>
Sun, 29 Jul 2012 12:05:45 +0000 (12:05 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 29 Jul 2012 12:05:45 +0000 (12:05 +0000)
mesh_bevel_round.py
mesh_extrude_along_curve.py
space_view3d_game_props_visualiser.py

index e2dbe81814d43a75c16e2a9dc85b90f95721d964..11a3b984eabe6555a2daa822866731c02e8c984d 100644 (file)
@@ -2377,7 +2377,7 @@ class BevelRoundAlgo(object):
         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)
index 038cd3fc5787bed365c0d5703c2418dbe79aeebe..806736d21bded947d119213d540408ad2bb93eed 100644 (file)
@@ -168,7 +168,7 @@ class ExtrudeAlongCurve(bpy.types.Operator):
 
         # 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
index 34ad4e4a02bd6cf823f3c155e9a79cb9a39dbc5f..fd2bcb3e209a3d33f3da2e3140feb84001514e4a 100644 (file)
@@ -74,7 +74,7 @@ def calc_callback(self, context):
         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()])