Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-09-02 04:42:18 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-09-02 04:45:55 +0300
commitf77de678d89fe9e279cbb4228959955f42b007d3 (patch)
tree8e23b2a18c326ee7d542e7d57a141cb120824f44
parent011d3a95e0188543f43e0373637eb7e51381f503 (diff)
EditMesh: recalculate normals after running rip
Failure to calculate normals caused an assertion since face tessellation was being calculated with invalid normals. In practice the rip-drag action would recalculate normals anyway, however mesh tessellation should always be performed with valid normals.
-rw-r--r--source/blender/editors/mesh/editmesh_rip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_rip.c b/source/blender/editors/mesh/editmesh_rip.c
index 5a2a090b725..0553fa077f8 100644
--- a/source/blender/editors/mesh/editmesh_rip.c
+++ b/source/blender/editors/mesh/editmesh_rip.c
@@ -1085,7 +1085,7 @@ static int edbm_rip_invoke(bContext *C, wmOperator *op, const wmEvent *event)
EDBM_update(obedit->data,
&(const struct EDBMUpdate_Params){
.calc_looptri = true,
- .calc_normals = false,
+ .calc_normals = true,
.is_destructive = true,
});
}