Small UI Tweaks - Toolbar + Graph Editor:

* "RNA Path" and "Array Index" for the active F-Curve in the Graph Editor are now shown in the properties region. These are greyed out unless the F-Curve cannot be evaluated, in which case they can be edited to make the F-Curve work again

* Made the Push and Relax operators in Pose Mode fit on a single row in the toolbar, since they're opposites of each other.
This commit is contained in:
2009-11-17 22:46:42 +00:00
parent 7b05c9ca30
commit b6e015f70c
2 changed files with 9 additions and 2 deletions

View File

@@ -425,8 +425,9 @@ class VIEW3D_PT_tools_posemode(View3DPanel):
col = layout.column(align=True)
col.itemL(text="In-Between:")
col.itemO("pose.relax", text="Relax")
col.itemO("pose.push", text="Push")
row = col.row()
row.itemO("pose.push", text="Push")
row.itemO("pose.relax", text="Relax")
col.itemO("pose.breakdown", text="Breakdowner")
col = layout.column(align=True)

View File

@@ -195,6 +195,12 @@ static void graph_panel_properties(const bContext *C, Panel *pa)
icon= getname_anim_fcurve(name, ale->id, fcu);
uiItemL(col, name, icon);
/* RNA-Path Editing - only really should be enabled when things aren't working */
col= uiLayoutColumn(layout, 1);
uiLayoutSetEnabled(col, (fcu->flag & FCURVE_DISABLED));
uiItemR(col, "", ICON_RNA, &fcu_ptr, "rna_path", 0);
uiItemR(col, NULL, 0, &fcu_ptr, "array_index", 0);
/* color settings */
col= uiLayoutColumn(layout, 1);
uiItemL(col, "Display Color:", 0);