Cleanup: simplify transform orientation cycling
authorCampbell Barton <ideasman42@gmail.com>
Thu, 29 Nov 2018 01:49:02 +0000 (12:49 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 29 Nov 2018 01:49:02 +0000 (12:49 +1100)
commit535984a848865c07a39610b32a53432d1a078c59
tree7c25d24b5b12c8d7b23de475d39a3d469f000d33
parent27cccaeccd219e08c6947c3789ed8498f12f7878
Cleanup: simplify transform orientation cycling

Remove dummy first index, store a pointer to the user orientation
instead of having it store twice (which could get out of sync).
source/blender/editors/transform/transform.c
source/blender/editors/transform/transform.h
source/blender/editors/transform/transform_generics.c