chore: hide logging
This commit is contained in:
@@ -82,7 +82,7 @@ class ObjectOps:
|
||||
results = self.blender_process(bpy, **props)
|
||||
|
||||
if results is None:
|
||||
print(results)
|
||||
# print(results)
|
||||
if props.get("BPY_OBJ") != None:
|
||||
return (props["BPY_OBJ"], )
|
||||
else:
|
||||
@@ -195,7 +195,7 @@ def print_blender_functions(path):
|
||||
|
||||
# add a an empty object
|
||||
|
||||
print(dir(get_nested_attr(bpy, path)), type(get_nested_attr(bpy, path)))
|
||||
# print(dir(get_nested_attr(bpy, path)), type(get_nested_attr(bpy, path)))
|
||||
|
||||
|
||||
def create_ops_class(cls, path, name=None, name_prefix=''):
|
||||
|
||||
@@ -68,8 +68,8 @@ class GroupVertexInside():
|
||||
# get the indices of the vertices that are inside the convex hull
|
||||
inside_vertices_indices = [i for (x,y,i) in all_vertices_without_vertex_group if tri.find_simplex((x,y))>=0]
|
||||
|
||||
print(inside_vertices_indices)
|
||||
print(len(vertex_group_vertices))
|
||||
# print(inside_vertices_indices)
|
||||
# print(len(vertex_group_vertices))
|
||||
|
||||
bpy.ops.mesh.select_all(action='DESELECT')
|
||||
|
||||
|
||||
@@ -51,8 +51,8 @@ class Mesh_ModifyShapeKey(blender_node.ObjectOps):
|
||||
# Create a new array of verts with sk as co and verts' groups
|
||||
new_verts = []
|
||||
for i, vert in enumerate(verts):
|
||||
print(i)
|
||||
print(sk.data[i].co)
|
||||
# print(i)
|
||||
# print(sk.data[i].co)
|
||||
new_vert = {
|
||||
'co': sk.data[i].co,
|
||||
'groups': vert.groups
|
||||
@@ -129,6 +129,6 @@ class Mesh_ModifyShapeKey(blender_node.ObjectOps):
|
||||
new_pos = center + vec
|
||||
|
||||
# Apply new position
|
||||
print(i, vert['co'], new_pos, weight)
|
||||
# print(i, vert['co'], new_pos, weight)
|
||||
|
||||
sk.data[i].co = new_pos
|
||||
|
||||
Reference in New Issue
Block a user