Skip to content
This repository has been archived by the owner on Dec 12, 2017. It is now read-only.

Commit

Permalink
improving #63 for more consitent guide mode behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
patmo141 committed Jun 16, 2014
1 parent 8c29236 commit d6239d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ def release_place_cut(self,context,settings, event):
feature_factor = settings.feature_factor)

path.insert_new_cut(context, self.original_form, self.bme, self.selected, search = settings.search_factor)
path.seg_lock = True #for now
path.seg_lock = False #not locked yet...not until a 2nd cut is added in loop mode
path.segments = 1
path.ring_segments = len(self.selected.verts_simple)
path.connect_cuts_to_make_mesh(self.original_form)
Expand Down Expand Up @@ -1934,7 +1934,7 @@ def invoke(self, context, event):


path.existing_head = existing_loop
path.seg_lock = True
path.seg_lock = False
path.ring_lock = True
path.ring_segments = len(existing_loop.verts_simple)
path.connect_cuts_to_make_mesh(target)
Expand Down
2 changes: 2 additions & 0 deletions contour_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1379,6 +1379,8 @@ def snap_merge_into_other(self, merge_series, merge_ring, context, ob, bme):

#expensive recalculation of whole path
#TODO: make this process smarter
merge_series.world_path = [cut.verts_simple[0] for cut in merge_series.cuts]
merge_series.segments = len(merge_series.cuts) - 1
merge_series.backbone_from_cuts(context,ob,bme)
merge_series.connect_cuts_to_make_mesh(ob)
merge_series.update_visibility(context,ob)
Expand Down

0 comments on commit d6239d9

Please sign in to comment.