Blender Git Loki

Git Commits -> Revision be143c2

Revision be143c2 by Matt Ebb (master)
November 4, 2009, 23:14 (GMT)
* Partial fix for bug [#19734] N panel's transform doesn't display the units

Converted the Object transform properties to use rna/rna buttons. This has the advantage of not only displaying/editing units, but also RMB menu, keyframing, drivers, etc too. Part of this was to convert 'Dimensions' to an rna property, converting to and from scale. This also allows you to set the object's dimensions via fcurves or python, but note that it's driving the object scale setting internally so if you animate both dimension and scale at the same time one will override the other (i don't expect many people to attempt this).

Commit Details:

Full Hash: be143c22440463ac5eb75f89c4cf4b681aba40a5
SVN Revision: 24333
Parent Commit: e6ea68a
Lines Changed: +99, -254

3 Modified Paths:

/source/blender/editors/interface/interface_layout.c (+9, -4) (Diff)
/source/blender/editors/space_view3d/view3d_buttons.c (+51, -214) (Diff)
/source/blender/makesrna/intern/rna_object.c (+39, -36) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021