forked from bartvdbraak/blender
color gamma (such as theme colors), were not being wrapped by python as 'mathutils.Color' types
This commit is contained in:
parent
3916b0270e
commit
bf1e2ce41e
@ -640,6 +640,7 @@ PyObject *pyrna_math_object_from_array(PointerRNA *ptr, PropertyRNA *prop)
|
||||
}
|
||||
break;
|
||||
case PROP_COLOR:
|
||||
case PROP_COLOR_GAMMA:
|
||||
if(len==3) { /* color */
|
||||
if(is_thick) {
|
||||
ret= newColorObject(NULL, Py_NEW, NULL); // TODO, get order from RNA
|
||||
|
Loading…
Reference in New Issue
Block a user