Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormeta-androcto <meta.androcto1@gmail.com>2019-07-03 12:28:22 +0300
committermeta-androcto <meta.androcto1@gmail.com>2019-07-03 12:28:22 +0300
commit2b144940181b60c8a08b91646e167064f286a2ef (patch)
tree9b44478d3eea0af439c210588ba444f9cb13570b /mesh_tissue/tessellate_numpy.py
parent582119a574effd14e09b76491bb018526757d994 (diff)
mesh_tissue: fix errors, remove read me, clean up: T63477
Diffstat (limited to 'mesh_tissue/tessellate_numpy.py')
-rw-r--r--mesh_tissue/tessellate_numpy.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/mesh_tissue/tessellate_numpy.py b/mesh_tissue/tessellate_numpy.py
index 9526d115..52b50e60 100644
--- a/mesh_tissue/tessellate_numpy.py
+++ b/mesh_tissue/tessellate_numpy.py
@@ -124,7 +124,7 @@ class tissue_tessellate_prop(PropertyGroup):
)
bool_run : BoolProperty(
name="Animatable Tessellation",
- description="Automatically recompute the tessellation when the frame is changed",
+ description="Automatically recompute the tessellation when the frame is changed. Currently is not working during Render Animation",
default = False,
update = set_tessellate_handler
)
@@ -1271,8 +1271,6 @@ def tessellate_original(_ob0, _ob1, offset, zscale, gen_modifiers, com_modifiers
for v in me0.vertices:
try:
_weight.append(vg.weight(v.index))
- #print(vg.weight(v.index))
- #_weight.append(v.groups[0])
except:
_weight.append(0)
weight.append(_weight)
@@ -2361,7 +2359,6 @@ class update_tessellate(Operator):
local_ob1 = []
for area in bpy.context.screen.areas:
for space in area.spaces:
- print(space)
try:
if ob.local_view_get(space):
local_spaces.append(space)
@@ -2684,8 +2681,6 @@ class update_tessellate(Operator):
for space, local0, local1 in zip(local_spaces, local_ob0, local_ob1):
ob0.local_view_set(space, local0)
ob1.local_view_set(space, local1)
- print(local_ob0)
- print(local_ob1)
return {'FINISHED'}
@@ -2761,6 +2756,9 @@ class TISSUE_PT_tessellate_object(Panel):
icon='ERROR')
col = layout.column(align=True)
row = col.row(align=True)
+
+ set_tessellate_handler(self,context)
+ set_animatable_fix_handler(self,context)
row.prop(props, "bool_run", text="Animatable")
row.operator("object.update_tessellate", icon='FILE_REFRESH')