Add Simple randomize vertex tool

D432 from Walid Shouman with normal & uniform options added.
This commit is contained in:
2014-03-31 14:56:43 +11:00
parent 4e7872ce46
commit 2fc7d04804
6 changed files with 174 additions and 0 deletions

View File

@@ -197,6 +197,7 @@ class VIEW3D_MT_transform_base(Menu):
layout.operator("transform.bend", text="Bend")
layout.operator("transform.push_pull", text="Push/Pull")
layout.operator("object.vertex_warp", text="Warp")
layout.operator("object.vertex_random", text="Randomize")
# Generic transform menu - geometry types

View File

@@ -329,6 +329,7 @@ class VIEW3D_PT_tools_meshedit(View3DPanel, Panel):
row.operator("transform.vert_slide", text="Vertex")
col.operator("mesh.noise")
col.operator("mesh.vertices_smooth")
col.operator("object.vertex_random")
col = layout.column(align=True)
col.label(text="Add:")
@@ -500,6 +501,7 @@ class VIEW3D_PT_tools_curveedit(View3DPanel, Panel):
col.operator("curve.extrude_move", text="Extrude")
col.operator("curve.subdivide")
col.operator("curve.smooth")
col.operator("object.vertex_random")
draw_repeat_tools(context, layout)
@@ -553,6 +555,10 @@ class VIEW3D_PT_tools_surfaceedit(View3DPanel, Panel):
col.operator("curve.extrude", text="Extrude")
col.operator("curve.subdivide")
col = layout.column(align=True)
col.label(text="Deform:")
col.operator("object.vertex_random")
draw_repeat_tools(context, layout)
@@ -621,6 +627,10 @@ class VIEW3D_PT_tools_armatureedit(View3DPanel, Panel):
col.operator("armature.extrude_move")
col.operator("armature.subdivide", text="Subdivide")
col = layout.column(align=True)
col.label(text="Deform:")
col.operator("object.vertex_random")
draw_repeat_tools(context, layout)
@@ -650,6 +660,10 @@ class VIEW3D_PT_tools_mballedit(View3DPanel, Panel):
col.operator("transform.rotate")
col.operator("transform.resize", text="Scale")
col = layout.column(align=True)
col.label(text="Deform:")
col.operator("object.vertex_random")
draw_repeat_tools(context, layout)
@@ -686,6 +700,10 @@ class VIEW3D_PT_tools_latticeedit(View3DPanel, Panel):
col = layout.column(align=True)
col.operator("lattice.make_regular")
col = layout.column(align=True)
col.label(text="Deform:")
col.operator("object.vertex_random")
draw_repeat_tools(context, layout)