- moved unit settings from user prefs into the scene.

- use the scene context for the unit settings since there isn't a better place for it currently.
- added 'chain' to imperial units
- set more rna props to be distances and angles.
This commit is contained in:
Campbell Barton
2009-08-13 07:37:41 +00:00
parent 127f19cac4
commit d916c25616
13 changed files with 149 additions and 103 deletions

View File

@@ -320,17 +320,6 @@ class INFO_PT_edit(bpy.types.Panel):
sub1.itemS()
sub1.itemL(text="Transform:")
sub1.itemR(edit, "drag_immediately")
sub1.itemS()
sub1.itemS()
sub1.itemS()
sub1.itemL(text="Units:")
sub1.itemR(edit, "unit_system")
sub2 = sub1.column()
sub2.active = (edit.unit_system != 'NONE')
sub2.itemR(edit, "unit_scale_length")
sub2.itemR(edit, "use_unit_split")
col = split.column()
sub = col.split(percentage=0.85)