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 <campbell@blender.org>2022-02-23 13:25:46 +0300
committerCampbell Barton <campbell@blender.org>2022-02-23 13:25:46 +0300
commit391c3848b1326db1c29fc5c5f791d732d7d282a3 (patch)
tree9c835b3618a8177b5b724454f635e0f19d0f171d /source/blender/blenloader
parent34294449059744ba4b3d4b16eb5fb14a48c16265 (diff)
NDOF: make camera view/pan behavior optional
User request since adding this option in: 51975b89edfcc02131f1f8248e1b3442ea2778fa When disabled, use the previous behavior when orbiting a camera view.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/versioning_userdef.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_userdef.c b/source/blender/blenloader/intern/versioning_userdef.c
index 8685a0fa62d..10160e9aadc 100644
--- a/source/blender/blenloader/intern/versioning_userdef.c
+++ b/source/blender/blenloader/intern/versioning_userdef.c
@@ -948,6 +948,10 @@ void blo_do_versions_userdef(UserDef *userdef)
}
}
+ if (!USER_VERSION_ATLEAST(300, 43)) {
+ userdef->ndof_flag |= NDOF_CAMERA_PAN_ZOOM;
+ }
+
/**
* Versioning code until next subversion bump goes here.
*