Changed comparison for points - fixes issue if bone is at plunge point.

This commit is contained in:
ml 2017-01-06 22:16:09 -08:00 committed by Yorik van Havre
parent 25fc1d3ddf
commit a0533b7c46

View File

@ -275,7 +275,7 @@ class Chord (object):
return dir == 'Back' or dir == side return dir == 'Back' or dir == side
def connectsTo(self, chord): def connectsTo(self, chord):
return PathGeom.isRoughly(self.End, chord.Start) return PathGeom.pointsCoincide(self.End, chord.Start)
class Bone: class Bone:
def __init__(self, boneId, obj, lastCommand, inChord, outChord, smooth): def __init__(self, boneId, obj, lastCommand, inChord, outChord, smooth):