diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-03-31 04:53:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-31 05:04:12 +0300 |
commit | 5678e6c2bcccd7ce80958f5a0bd7c92837a41e74 (patch) | |
tree | 177039f0a1491fe4469ef679b8814b6184d4fd71 /release | |
parent | 87aa514611b99f75baf1d54948f773ad9ee7a6c4 (diff) |
Cleanup: improve navigation gizmo flag use
Flag check for V3D_LOCK_CAMERA used boolean style assignment to a char,
which worked with this flag but could fail if other flags are added
that use this convention in the future.
- Add static type checks for values so any change to DNA types
will need to be made in the navigation gizmo too.
- Move camera lock check from `rv3d` to `v3d`,
as this isn't stored in the region data.
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions