Fix #135260: Snap stuck when dragging time cursor

Caused by ac549dcfde. Snap is meant to be not saved, but the breaking
commit introduced a new property below the `snap` property so it was
no longer applied.

Pull Request: https://projects.blender.org/blender/blender/pulls/135433
This commit is contained in:
Christoph Lendenfeld
2025-03-04 21:21:04 +01:00
committed by Harley Acheson
parent c560cdc8cc
commit 0399134406

View File

@@ -426,8 +426,8 @@ static void ANIM_OT_change_frame(wmOperatorType *ot)
ot->prop = RNA_def_float(
ot->srna, "frame", 0, MINAFRAME, MAXFRAME, "Frame", "", MINAFRAME, MAXFRAME);
prop = RNA_def_boolean(ot->srna, "snap", false, "Snap", "");
prop = RNA_def_boolean(ot->srna, "seq_solo_preview", false, "Strip Preview", "");
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
prop = RNA_def_boolean(ot->srna, "seq_solo_preview", false, "Strip Preview", "");
}
/** \} */