Blender Git Loki

Git Commits -> Revision 55ca0e7

Revision 55ca0e7 by Sergey Sharybin (master)
June 12, 2012, 17:10 (GMT)
Make dopesheet settings per-tracking data

It was a bit confusing to synchronize settings used in pre-calculated
dopesheet channels which was storing in tracking data with settings
used for display which is in space data.

This was initially done by converting one flags to other and checking
if space's settings matches pre-calculated one, but that had several
issues if two different dopesheet are using different settings:

- Channels would be re-calculated on every redraw for each of spaces
- Dopesheet operators could fail due to the could be using channels
calculated for other space.

That was also quite nasty code checking if requested settings matches
pre-calculated one.

Commit Details:

Full Hash: 55ca0e7636b77a408ea70bf3117eff569e49954b
SVN Revision: 47789
Parent Commit: 1719b86
Lines Changed: +77, -75

8 Modified Paths:

/release/scripts/startup/bl_ui/space_clip.py (+3, -2) (Diff)
/source/blender/blenkernel/BKE_tracking.h (+1, -7) (Diff)
/source/blender/blenkernel/intern/tracking.c (+12, -20) (Diff)
/source/blender/editors/space_clip/space_clip.c (+2, -2) (Diff)
/source/blender/makesdna/DNA_space_types.h (+1, -18) (Diff)
/source/blender/makesdna/DNA_tracking_types.h (+15, -3) (Diff)
/source/blender/makesrna/intern/rna_space.c (+0, -23) (Diff)
/source/blender/makesrna/intern/rna_tracking.c (+43, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021