diff options
author | Julian Eisel <julian@blender.org> | 2020-10-03 17:31:09 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-10-03 19:34:23 +0300 |
commit | 21fc4ae206920a072168886074f45ea6302ffe30 (patch) | |
tree | 1aa230d1ca307f483f3367ffbc6aa5b90d5ee108 /source/blender/blenloader | |
parent | cb6234fccf7dfd3e09555cac18357427d802be1d (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