fix: Checking wrong variable

oops, lol
This commit is contained in:
MMaker 2022-03-27 04:12:16 -04:00
parent 5391ebaa42
commit 3b5ba4f977
Signed by: mmaker
GPG Key ID: CCE79B8FEDA40FB2

View File

@ -133,7 +133,7 @@ class FCurveHandleCopyValue(bpy.types.Operator):
G.selected_keys[fcurve] = [] G.selected_keys[fcurve] = []
G.selected_keys[fcurve].append(key_index) G.selected_keys[fcurve].append(key_index)
if G.bezier: if G.selected_keys:
G.bezier = convert_handles_to_bezier(G.selected_keys) G.bezier = convert_handles_to_bezier(G.selected_keys)
else: else:
self.report({"WARNING"}, "Please select some keyframes to copy an ease from.") self.report({"WARNING"}, "Please select some keyframes to copy an ease from.")