mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
.
This commit is contained in:
parent
ef4d4d5f9a
commit
53846d2ebc
@ -844,7 +844,8 @@ PyObject* Effect::wrapHsvFtoRgb(PyObject *self, PyObject *args)
|
|||||||
|
|
||||||
if ( argCount == 3 && PyArg_ParseTuple(args, "ddd", &h, &s, &v) )
|
if ( argCount == 3 && PyArg_ParseTuple(args, "ddd", &h, &s, &v) )
|
||||||
{
|
{
|
||||||
QColor cC.fromHsvF(h,s,v,a = 1.0).toRgb()
|
QColor cC;
|
||||||
|
cC.fromHsvF(h,s,v,a = 1.0).toRgb();
|
||||||
return Py_BuildValue("iii", cC.red(), cC.green(), cC.blue());
|
return Py_BuildValue("iii", cC.red(), cC.green(), cC.blue());
|
||||||
}
|
}
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user