Revision: 30628
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30628
Author: letterrip
Date: 2010-07-22 13:21:21 +0200 (Thu, 22 Jul 2010)
Log Message:
-----------
yet another inconsistency fix curve in uv editmode was using the drop down menu
for picking curves instead of the icons
Modified Paths:
--------------
trunk/blender/release/scripts/ui/space_image.py
Modified: trunk/blender/release/scripts/ui/space_image.py
===================================================================
--- trunk/blender/release/scripts/ui/space_image.py 2010-07-22 10:59:03 UTC
(rev 30627)
+++ trunk/blender/release/scripts/ui/space_image.py 2010-07-22 11:21:21 UTC
(rev 30628)
@@ -665,8 +665,15 @@
brush = toolsettings.brush
layout.template_curve_mapping(brush, "curve")
- layout.operator_menu_enum("brush.curve_preset", "shape")
+ row = layout.row(align=True)
+ row.operator("brush.curve_preset", icon="SMOOTHCURVE", text="").shape
= 'SMOOTH'
+ row.operator("brush.curve_preset", icon="SPHERECURVE", text="").shape
= 'ROUND'
+ row.operator("brush.curve_preset", icon="ROOTCURVE", text="").shape =
'ROOT'
+ row.operator("brush.curve_preset", icon="SHARPCURVE", text="").shape =
'SHARP'
+ row.operator("brush.curve_preset", icon="LINCURVE", text="").shape =
'LINE'
+ row.operator("brush.curve_preset", icon="NOCURVE", text="").shape =
'MAX'
+ row.operator("brush.curve_preset", icon="RNDCURVE", text="").shape =
'MID9'
classes = [
IMAGE_MT_view,
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs