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 17:31:09 +0300
committerJulian Eisel <julian@blender.org>2020-10-03 19:34:23 +0300
commit21fc4ae206920a072168886074f45ea6302ffe30 (patch)
tree1aa230d1ca307f483f3367ffbc6aa5b90d5ee108 /source/blender/blenloader
parentcb6234fccf7dfd3e09555cac18357427d802be1d (diff)
Cleanup: Remove duplicated View2D zoom polling logic
`view_zoomdrag_init()` would perform a number of sanity checks that `view_zoom_poll()` already executed. The design of operators forsees that (non-expensive) context sanity checks are done by the `poll()` callbacks, and the execution callbacks can then just assume that happened. No reason to be overly pedantic, we don't do that elsewhere either. Note that this code is from the earliest days of an operator design. So it's not surprising that it wasn't using the design "properly".
Diffstat (limited to 'source/blender/blenloader')
0 files changed, 0 insertions, 0 deletions