Skip to content

Commit

Permalink
fixed gplayer not extruding
Browse files Browse the repository at this point in the history
sometimes the gplayer would try to perform edge ops in face select mode
  • Loading branch information
MadMinstrel committed May 14, 2014
1 parent 67c4649 commit ebedafd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions greaseTrim.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def execute(self, context):

bpy.ops.object.mode_set(mode='EDIT')
bpy.ops.mesh.select_all(action='SELECT')
bpy.ops.mesh.select_mode(type="EDGE")
bpy.ops.transform.translate(value = viewZAxis)
for i in range(0, subdivisions):
bpy.ops.mesh.extrude_region_move(TRANSFORM_OT_translate={"value":negViewZAxis})
Expand Down

0 comments on commit ebedafd

Please sign in to comment.