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:
2018-08-02 18:03:01 +02:00
parent 909556aa26
commit ce551ada92

View File

@@ -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;
}