Blender Git Loki

Git Commits -> Revision 5678e6c

Revision 5678e6c by Campbell Barton (master)
March 31, 2021, 02:04 (GMT)
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.

Commit Details:

Full Hash: 5678e6c2bcccd7ce80958f5a0bd7c92837a41e74
Parent Commit: 87aa514
Lines Changed: +18, -9

1 Modified Path:

/source/blender/editors/space_view3d/view3d_gizmo_navigate.c (+18, -9) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021