Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Reynish <william@reynish.com>2009-07-24 15:48:45 +0400
committerWilliam Reynish <william@reynish.com>2009-07-24 15:48:45 +0400
commitbd628d9c0cd452321bf7e204f4b245ce37643a55 (patch)
treed99473c2679293ead01cc2f17a4a57ee40823939 /release/ui/space_view3d.py
parent84c8992e613a6c6821f6d384f852a639ebdbe5c7 (diff)
UI
Added cursor location to the view panel in 3D view. Removed the Shade Smooth/Flat buttons from mesh data for two reasons: These kinds of tools are more appropriate in the tools area, and the context would not always match the selected datablock, if you have multiple objects selected, or if you're viewing the mesh data tab in 'pinned' mode. The shade smooth/flat buttons are in the edit mode tools area now.
Diffstat (limited to 'release/ui/space_view3d.py')
-rw-r--r--release/ui/space_view3d.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/release/ui/space_view3d.py b/release/ui/space_view3d.py
index 39d8b86613f..4d5d7a03c07 100644
--- a/release/ui/space_view3d.py
+++ b/release/ui/space_view3d.py
@@ -73,7 +73,8 @@ class VIEW3D_MT_view(bpy.types.Menu):
layout.itemS()
- layout.itemO("screen.screen_full_area")
+ layout.itemO("screen.region_foursplit", text="Toggle Quad View")
+ layout.itemO("screen.screen_full_area", text="Toggle Full Screen")
class VIEW3D_HT_header(bpy.types.Header):
__space_type__ = "VIEW_3D"
@@ -101,6 +102,7 @@ class VIEW3D_PT_3dview_properties(bpy.types.Panel):
def draw(self, context):
view = context.space_data
+ scene = context.scene
layout = self.layout
split = layout.split()
@@ -113,6 +115,7 @@ class VIEW3D_PT_3dview_properties(bpy.types.Panel):
col.itemL(text="Grid:")
col.itemR(view, "grid_spacing", text="Spacing")
col.itemR(view, "grid_subdivisions", text="Subdivisions")
+ col.itemR(scene, "cursor_location", text="3D Cursor:")
class VIEW3D_PT_3dview_display(bpy.types.Panel):
__space_type__ = "VIEW_3D"