Fix missing type for material arry
This function was called by RNA Api and had grease pencil object type missing.
This commit is contained in:
parent
909556aa26
commit
ce551ada92
|
@ -319,6 +319,8 @@ Material ***give_matarar_id(ID *id)
|
|||
return &(((Curve *)id)->mat);
|
||||
case ID_MB:
|
||||
return &(((MetaBall *)id)->mat);
|
||||
case ID_GD:
|
||||
return &(((bGPdata *)id)->mat);
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue