This commit is contained in:
brindosch 2017-05-02 14:42:13 +02:00
parent ef4d4d5f9a
commit 53846d2ebc

View File

@ -844,7 +844,8 @@ PyObject* Effect::wrapHsvFtoRgb(PyObject *self, PyObject *args)
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 nullptr;