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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user