Blender Git Commit Log

Git Commits -> Revision 8714ae0

Revision 8714ae0 by Bastien Montagne (master)
April 7, 2014, 10:17 (GMT)
Fix T39563: Tiny unit-display problem in constraint panels.

There is no good solution here, since RNA props can only have one type/unit.
Tried to find the less worse one - have different RNA props for same DNA value
(a bit like the angle/length for camera lens).

Also fixed two other issues with Transform conctraint:
* Angle were still in degrees (yes, another backward-compatibility breacking).
* Scale was absolute, unlike loc/rot.

Also cleaned up a bit the code, replaced some magic numbers by proper enums, ...

Commit Details:

Full Hash: 8714ae09f89426242ecd0c65f3291de1a2b51fc4
Parent Commit: f3db038
Lines Changed: +218, -42

6 Modified Paths:

/release/scripts/startup/bl_ui/properties_constraint.py (+14, -12) (Diff)
/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/constraint.c (+18, -26) (Diff)
/source/blender/blenloader/intern/versioning_270.c (+28, -0) (Diff)
/source/blender/makesdna/DNA_constraint_types.h (+7, -0) (Diff)
/source/blender/makesrna/intern/rna_constraint.c (+150, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021