Blender Git Loki

Git Commits -> Revision 0df28e8

Revision 0df28e8 by Sergey Sharybin (master)
August 13, 2020, 13:24 (GMT)
View2D: Inform region type on current view changes

Allows to hook per-space code which is to be run on view navigation.
This is required to have zoom-to-fit implemented in the sequencer.

There might be more cases where the clalback is to be called from,
but it could be easier to address those on the case-by-case basis
when its needed.

Commit Details:

Full Hash: 0df28e8c2044ece017c0a283625aba058c7ff5be
Parent Commit: c271236
Lines Changed: +17, -1

2 Modified Paths:

/source/blender/blenkernel/BKE_screen.h (+10, -0) (Diff)
/source/blender/editors/interface/view2d.c (+7, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021