forked from blender/blender
Fix review comments #51
@ -185,7 +185,7 @@ void CurvesData::write_material()
|
||||
Object *object = (Object *)id;
|
||||
Material *mat = nullptr;
|
||||
if (BKE_object_material_count_eval(object) > 0) {
|
||||
mat = BKE_object_material_get_eval(object, object->actcol);
|
||||
mat = BKE_object_material_get_eval(object, 0);
|
||||
}
|
||||
|
||||
if (!mat) {
|
||||
|
Loading…
Reference in New Issue
Block a user