Blender Git Loki

Git Commits -> Revision 05e3c26

Revision 05e3c26 by Bastien Montagne (master)
March 19, 2015, 19:53 (GMT)
Fix T43989: Sequencer - Ctrl snapping a sequencer strip does not work if you specify the x axis.

New 'strip' snapping was simply not computed in case of constrained transform, hence init
'0' value was used as frame offset in this case.

This commit reorganizes a bit that snapping, to keep it more 'confined' into `snapSequenceBounds()`
dedicated function. It still needs a minor hack (setting snapping mode to something else than
defualt `SCE_SNAP_MODE_INCREMENT`, to avoid this snapping to be called by contraint code).

Thanks to Antony for review and enhancements.

This fix should be backported to 2.74.

Commit Details:

Full Hash: 05e3c261a44b42181aadc8af9d603db2cb721b20
Parent Commit: ea12b87
Lines Changed: +15, -23

3 Modified Paths:

/source/blender/editors/transform/transform.c (+6, -19) (Diff)
/source/blender/editors/transform/transform.h (+1, -1) (Diff)
/source/blender/editors/transform/transform_snap.c (+8, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021