small UI cleanup - "Mouse Cursor" instead of "Show Mouse" and s/subcol/sub and a new line in the end of constraints ui file

This commit is contained in:
Dalai Felinto 2011-02-27 09:36:29 +00:00
parent ac1b08a928
commit bc52b996e3
2 changed files with 12 additions and 11 deletions

@ -356,7 +356,7 @@ class RENDER_PT_game_display(RenderButtonsPanel, bpy.types.Panel):
flow.prop(gs, "show_framerate_profile", text="Framerate and Profile")
flow.prop(gs, "show_physics_visualization", text="Physics Visualization")
flow.prop(gs, "use_deprecation_warnings")
flow.prop(gs, "show_mouse")
flow.prop(gs, "show_mouse", text="Mouse Cursor")
class RENDER_PT_game_sound(RenderButtonsPanel, bpy.types.Panel):

@ -537,21 +537,21 @@ class ConstraintButtonsPanel():
col = split.column()
col.prop(con, "use_angular_limit_x", text="Angle X")
subcol = col.column()
subcol.active =con.use_angular_limit_x
subcol.prop(con, "limit_angle_max_x", text="")
sub = col.column()
sub.active = con.use_angular_limit_x
sub.prop(con, "limit_angle_max_x", text="")
col = split.column()
col.prop(con, "use_angular_limit_y", text="Angle Y")
subcol = col.column()
subcol.active =con.use_angular_limit_y
subcol.prop(con, "limit_angle_max_y", text="")
sub = col.column()
sub.active = con.use_angular_limit_y
sub.prop(con, "limit_angle_max_y", text="")
col = split.column()
col.prop(con, "use_angular_limit_z", text="Angle Z")
subcol = col.column()
subcol.active =con.use_angular_limit_z
subcol.prop(con, "limit_angle_max_z", text="")
sub = col.column()
sub.active = con.use_angular_limit_z
sub.prop(con, "limit_angle_max_z", text="")
elif con.pivot_type == 'GENERIC_6_DOF':
layout.label(text="Limits:")
@ -790,4 +790,5 @@ def unregister():
bpy.utils.unregister_module(__name__)
if __name__ == "__main__":
register()
register()