Blender Git Loki

Git Commits -> Revision 261e92f

Revision 261e92f by Sergey Sharybin (master)
March 26, 2012, 11:44 (GMT)
Fix #30430: Can only alt+scroll image buffer slot once

Issue was caused by mapping old buttons to new buttons. Render slot button in header
holds RenerResult for particular slot, but in N-panel it holds RenderResult from RenderEngine.
So what was happening is: switching render slot to empty slot makes slot button in header
contain NULL as button function's argument, but old button holds RenderResult for rendered
image, so this two buttons aren't equal and so button isn't getting activated and no scrolling
happens.
Making slot button hold RenderResult directly from RenderEngine (as it's happening with
buttons in N-panel) makes old->new buttons mapping work correct and it's possible
to alt-scroll smoothly

Commit Details:

Full Hash: 261e92f864834db45407476aa19ae740b5531d29
SVN Revision: 45168
Parent Commit: 8439649
Lines Changed: +5, -3

1 Modified Path:

/source/blender/editors/space_image/image_buttons.c (+5, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021