From b2a15de88799f31dfca17c6bb2501be30ec558b3 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 22 Jan 2019 11:48:28 +0100 Subject: Fix T60575: Multiresolution Crashes when appliing more subdivisions The issue was caused by intermediate DerivedMesh being created with scene's Simplify settings taken into account. This is what happens when one area makes implicit decisions based on whether passed Scene pointer is not NULL. Made it so ignoring simplification serttings is an explicit flag, which makes it easier to follow what's going on. --- source/blender/blenkernel/BKE_subsurf.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/blenkernel/BKE_subsurf.h') diff --git a/source/blender/blenkernel/BKE_subsurf.h b/source/blender/blenkernel/BKE_subsurf.h index ba367854c6b..c709eb80753 100644 --- a/source/blender/blenkernel/BKE_subsurf.h +++ b/source/blender/blenkernel/BKE_subsurf.h @@ -62,6 +62,7 @@ typedef enum { SUBSURF_IN_EDIT_MODE = 8, SUBSURF_ALLOC_PAINT_MASK = 16, SUBSURF_USE_GPU_BACKEND = 32, + SUBSURF_IGNORE_SIMPLIFY = 64, } SubsurfFlags; struct DerivedMesh *subsurf_make_derived_from_derived( -- cgit v1.2.3