Commit: c8d0a615efcb8398ae6e8f90ba09e9567dd750fd Author: Brecht Van Lommel Date: Tue Jun 30 16:58:19 2020 +0200 Branches: blender-v2.83-release https://developer.blender.org/rBc8d0a615efcb8398ae6e8f90ba09e9567dd750fd
Fix T78358: random crash editing shader nodes with textures =================================================================== M source/blender/editors/space_view3d/view3d_utils.c =================================================================== diff --git a/source/blender/editors/space_view3d/view3d_utils.c b/source/blender/editors/space_view3d/view3d_utils.c index 377e8c58ba3..15d6a43d105 100644 --- a/source/blender/editors/space_view3d/view3d_utils.c +++ b/source/blender/editors/space_view3d/view3d_utils.c @@ -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; } } _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs