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:
authorCampbell Barton <ideasman42@gmail.com>2021-02-05 09:04:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-02-05 09:04:14 +0300
commit38420f19b6ebfac05955dac61200ce686fcd16e5 (patch)
treefb2d1bd5ae78a0947b006da3b57de2c36df827cf /source/blender/makesdna/DNA_userdef_types.h
parentf2bf5acd5824673e4a7d641c833ec6940e6b5bea (diff)
Cleanup: rename USER_ZOOM_{CONT->CONTINUE} improve comments
USER_ZOOM_CONT only had comments saying this was 'oldstyle', remove these comments, add brief explanations of the zoom style in the enum.
Diffstat (limited to 'source/blender/makesdna/DNA_userdef_types.h')
-rw-r--r--source/blender/makesdna/DNA_userdef_types.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h
index 790f3423eef..0e31ec3494e 100644
--- a/source/blender/makesdna/DNA_userdef_types.h
+++ b/source/blender/makesdna/DNA_userdef_types.h
@@ -1013,8 +1013,11 @@ typedef enum ePathCompare_Flag {
/** #UserDef.viewzoom */
typedef enum eViewZoom_Style {
- USER_ZOOM_CONT = 0,
+ /** Update zoom continuously with a timer while dragging the cursor. */
+ USER_ZOOM_CONTINUE = 0,
+ /** Map changes in distance from the view center to zoom. */
USER_ZOOM_SCALE = 1,
+ /** Map horizontal/vertical motion to zoom. */
USER_ZOOM_DOLLY = 2,
} eViewZoom_Style;