[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [21870] branches/blender2.5/blender/ release/ui/space_view3d.py: 2.5 3DView View Panel:
Thomas Dinges
dingto at gmx.de
Sat Jul 25 00:33:10 CEST 2009
Revision: 21870
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21870
Author: dingto
Date: 2009-07-25 00:33:09 +0200 (Sat, 25 Jul 2009)
Log Message:
-----------
2.5 3DView View Panel:
* Added Lines option.
* Made some settings use alignment.
Logs: Of course i meant 4-Split in last commit message ;-)
Modified Paths:
--------------
branches/blender2.5/blender/release/ui/space_view3d.py
Modified: branches/blender2.5/blender/release/ui/space_view3d.py
===================================================================
--- branches/blender2.5/blender/release/ui/space_view3d.py 2009-07-24 22:09:30 UTC (rev 21869)
+++ branches/blender2.5/blender/release/ui/space_view3d.py 2009-07-24 22:33:09 UTC (rev 21870)
@@ -116,15 +116,19 @@
col.itemR(view, "camera")
col.itemR(view, "lens")
- col.itemL(text="Clip:")
+ layout.itemL(text="Clip:")
+ col = layout.column(align=True)
col.itemR(view, "clip_start", text="Start")
col.itemR(view, "clip_end", text="End")
- col.itemL(text="Grid:")
+ layout.itemL(text="Grid:")
+ col = layout.column(align=True)
+ col.itemR(view, "grid_lines", text="Lines")
col.itemR(view, "grid_spacing", text="Spacing")
col.itemR(view, "grid_subdivisions", text="Subdivisions")
- col.itemR(scene, "cursor_location", text="3D Cursor:")
+ layout.column().itemR(scene, "cursor_location", text="3D Cursor:")
+
class VIEW3D_PT_3dview_display(bpy.types.Panel):
__space_type__ = "VIEW_3D"
__region_type__ = "UI"
More information about the Bf-blender-cvs
mailing list