UI / Nodes: Revert Slider for "Value" node, this is no percentage nor a 0-1 range.

This commit is contained in:
Thomas Dinges
2014-01-07 16:35:52 +01:00
parent 073be286b4
commit d2fd8c75b0

View File

@@ -139,7 +139,7 @@ static void node_buts_value(uiLayout *layout, bContext *UNUSED(C), PointerRNA *p
PointerRNA sockptr;
RNA_pointer_create(ptr->id.data, &RNA_NodeSocket, output, &sockptr);
uiItemR(layout, &sockptr, "default_value", UI_ITEM_R_SLIDER, "", ICON_NONE);
uiItemR(layout, &sockptr, "default_value", 0, "", ICON_NONE);
}
static void node_buts_rgb(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)