Axial Orientation
Needs ReviewPublic

Authored by cris (InsigMathK) on Apr 20 2017, 11:38 PM.

Details

Summary

This is the new axial orientation for the local manipulator. Basically no matter how you rotate or scale an object or posebone the manipulator will allow you to translate along the proper axis, i.e., translating x will only translate x, translating y will only translate y, etc.

Diff Detail

Repository
rB Blender
Branch
axial_orientation
Build Status
Buildable 610
Build 610: arc lint + arc unit
  • Fixed an issue where if an empty object is selected and axial is chosen, it occasionally crashes. So, in that case it just does a return statement before trying to find its parent. Also fixed one little comment in DNA_view4d_types.h.
source/blender/editors/transform/transform_manipulator.c
670

This results in a compile error for me:
"Non-void function 'calc_manipulator_stats' should return a value"

source/blender/editors/transform/transform_orientations.c
505

As above, this should return a value.

  • Replaced inappropiate "return" statements in two void functions with "break".