forked from blender/blender
BLEN-343: Create PreviewEngine #8
@ -27,6 +27,10 @@ void BlenderSceneDelegate::set_material(MeshData &mesh_data)
|
||||
mesh_data.material_id = SdfPath::EmptyPath();
|
||||
return;
|
||||
}
|
||||
/**
|
||||
* Haven't found any description about this flag. It disables some materials
|
||||
* that don't exist for preview render
|
||||
*/
|
||||
if (!material->flag) {
|
||||
mesh_data.material_id = SdfPath::EmptyPath();
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user