mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix T78358: random crash editing shader nodes with textures
This commit is contained in:
parent
3f23de9a3f
commit
c8d0a615ef
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ bool ED_view3d_has_workbench_in_texture_color(const Scene *scene,
|
|||
if (v3d->shading.color_type == V3D_SHADING_TEXTURE_COLOR) {
|
||||
return true;
|
||||
}
|
||||
if (ob->mode == OB_MODE_TEXTURE_PAINT) {
|
||||
if (ob && ob->mode == OB_MODE_TEXTURE_PAINT) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue