correct rna identifiers
- compositor viewer: use_straight_alpha -> use_alpha - bevel tool: percent -> offset
This commit is contained in:
@@ -4977,7 +4977,7 @@ static float edbm_bevel_mval_factor(wmOperator *op, wmEvent *event)
|
|||||||
if (event->shift) {
|
if (event->shift) {
|
||||||
if (opdata->shift_factor < 0.0f) {
|
if (opdata->shift_factor < 0.0f) {
|
||||||
#ifdef NEW_BEVEL
|
#ifdef NEW_BEVEL
|
||||||
opdata->shift_factor = RNA_float_get(op->ptr, "percent");
|
opdata->shift_factor = RNA_float_get(op->ptr, "offset");
|
||||||
#else
|
#else
|
||||||
opdata->shift_factor = RNA_float_get(op->ptr, "factor");
|
opdata->shift_factor = RNA_float_get(op->ptr, "factor");
|
||||||
#endif
|
#endif
|
||||||
|
@@ -2668,7 +2668,7 @@ static void node_composit_buts_viewer_but(uiLayout *layout, bContext *UNUSED(C),
|
|||||||
{
|
{
|
||||||
uiLayout *col;
|
uiLayout *col;
|
||||||
|
|
||||||
uiItemR(layout, ptr, "use_straight_alpha", 0, NULL, ICON_NONE);
|
uiItemR(layout, ptr, "use_alpha", 0, NULL, ICON_NONE);
|
||||||
uiItemR(layout, ptr, "tile_order", 0, NULL, ICON_NONE);
|
uiItemR(layout, ptr, "tile_order", 0, NULL, ICON_NONE);
|
||||||
if (RNA_enum_get(ptr, "tile_order") == 0) {
|
if (RNA_enum_get(ptr, "tile_order") == 0) {
|
||||||
col = uiLayoutColumn(layout, TRUE);
|
col = uiLayoutColumn(layout, TRUE);
|
||||||
|
Reference in New Issue
Block a user