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();
|
mesh_data.material_id = SdfPath::EmptyPath();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* Haven't found any description about this flag. It disables some materials
|
||||||
|
* that don't exist for preview render
|
||||||
|
*/
|
||||||
if (!material->flag) {
|
if (!material->flag) {
|
||||||
mesh_data.material_id = SdfPath::EmptyPath();
|
mesh_data.material_id = SdfPath::EmptyPath();
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user