Sfoglia il codice sorgente

remove annoying prints

Joseph Brandenburg 5 mesi fa
parent
commit
ccdbd5300b
2 ha cambiato i file con 0 aggiunte e 2 eliminazioni
  1. 0 1
      misc_nodes.py
  2. 0 1
      utilities.py

+ 0 - 1
misc_nodes.py

@@ -1616,7 +1616,6 @@ class UtilityMatrixAlignRoll(MantisNode):
         align_axis = Vector(self.evaluate_input('Alignment Vector'))
         # why do I have to construct a vector here?
         # why is the socket returning a bpy_prop_array ?
-        print(align_axis)
         if align_axis.length_squared==0:
             raise RuntimeError(f"WARN: cannot align matrix in {self}"
                                 " because the alignment vector is zero.")

+ 0 - 1
utilities.py

@@ -767,7 +767,6 @@ def nurbs_copy_bez_spline(curve, bez_spline, do_setup=True):
         bez_data.append(bez_pt.co.copy())
         if i != len(bez_pts)-1:
             bez_data.append(bez_pt.handle_right.copy())
-    print(bez_data)
     other_spline.points.add(len(bez_data)-1)
     for i, pt in enumerate(bez_data):
         other_spline.points[i].co=(*pt,1.0) # add the W value here