Revision: 49163
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=49163
Author: vino
Date: 2012-07-24 00:39:20 +0000 (Tue, 24 Jul 2012)
Log Message:
-----------
Update floating controls paneltype for the new userprefs option.
Modified Paths:
--------------
branches/soc-2012-bratwurst/release/scripts/startup/bl_ui/space_view3d.py
Modified:
branches/soc-2012-bratwurst/release/scripts/startup/bl_ui/space_view3d.py
===================================================================
--- branches/soc-2012-bratwurst/release/scripts/startup/bl_ui/space_view3d.py
2012-07-24 00:29:11 UTC (rev 49162)
+++ branches/soc-2012-bratwurst/release/scripts/startup/bl_ui/space_view3d.py
2012-07-24 00:39:20 UTC (rev 49163)
@@ -2704,9 +2704,9 @@
view = context.space_data
tools = context.tool_settings
- if bpy.context.user_preferences.edit.floating_controls == 'BOTTOM' or
bpy.context.user_preferences.edit.floating_controls == 'TOP':
+ if bpy.context.user_preferences.view.floating_controls == 'BOTTOM' or
bpy.context.user_preferences.view.floating_controls == 'TOP':
layout = self.layout
- if bpy.context.user_preferences.edit.floating_controls == 'BOTTOM':
+ if bpy.context.user_preferences.view.floating_controls == 'BOTTOM':
layout.alignment = 'BOTTOM'
row = layout.row(align=True)
@@ -2740,11 +2740,11 @@
props = row.operator("mesh.selection_mode_set", text="",
icon='FACESEL')
props.mode='FACE'
- elif bpy.context.user_preferences.edit.floating_controls == 'LEFT' or
bpy.context.user_preferences.edit.floating_controls == 'RIGHT':
+ elif bpy.context.user_preferences.view.floating_controls == 'LEFT' or
bpy.context.user_preferences.view.floating_controls == 'RIGHT':
layout = self.layout
row = layout.row()
- if bpy.context.user_preferences.edit.floating_controls == 'RIGHT':
+ if bpy.context.user_preferences.view.floating_controls == 'RIGHT':
row.alignment = 'RIGHT'
column = row.column(align=True)
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs