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:
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user