Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2020-10-03 19:24:41 +0300
committerJulian Eisel <julian@blender.org>2020-10-03 19:34:23 +0300
commit3a1cf838ca09bdc58eeab67ced640314faf49eae (patch)
treeb0fb888f1d058b57050d9e91e4515b5406375609 /source/blender/blenloader
parenteacaebea837a652a4b68b515ef82ecee2e58477c (diff)
Fix issues with calling View2D zoom operators in an `EXEC` context
Multiple related issues: * `view_zoomdrag_exec()` required `view_zoomdrag_init()` to be called first to set up data. Can now easily be done in the `_exec()` function as well though. * Because of that the operators could not be called in an `EXEC_` context (e.g. `EXEC_REGION_WIN`). * With "Zoom to Mouse Position" enabled, zooming from a menu or script would zoom to the mouse position. That should only happen if the operators are called directly in the editor.
Diffstat (limited to 'source/blender/blenloader')
0 files changed, 0 insertions, 0 deletions