Skip to content

Commit

Permalink
fix closing parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesa08 committed Oct 22, 2023
1 parent db5ef40 commit c8626ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MIDIAnimator/utils/blender.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def validateFCurves(noteOnFCurves: List[Union[bpy.types.FCurve, 'ObjectShapeKey'
:return bool: True if valid, False otherwise
"""
# if there is no FCurves on each object, this is valid
if (len(noteOnFCurves) == 0 and bool(noteOffFCurves) is False) or (len(noteOffFCurves) == 0 and bool(noteOnFCurves is False)): return True
if (len(noteOnFCurves) == 0 and bool(noteOffFCurves) is False) or (len(noteOffFCurves) == 0 and bool(noteOnFCurves) is False): return True

# if one doesn't exist, its valid (since there isn't another pair to match with)
if (bool(noteOnFCurves) is False and bool(noteOffFCurves) is True) or (bool(noteOffFCurves) is False and bool(noteOnFCurves) is True): return True
Expand Down

0 comments on commit c8626ae

Please sign in to comment.