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:
authorNicholas Bishop <nicholasbishop@gmail.com>2007-02-22 22:34:38 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2007-02-22 22:34:38 +0300
commit1f8469b7fb9990b603a438ab5f96d170b0a64ddf (patch)
treefae064e834255c04f081c4bb78106ecbfa9a400b
parenta7bccae4779e88b75f326cdda2d0defc2045b19b (diff)
== Multires ==
Fixed bug #6046, updating edge data after applying multires * Changing the Edge level in the Multires panel should update the edge render flag as well as the draw flag
-rw-r--r--source/blender/src/multires.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/multires.c b/source/blender/src/multires.c
index ef9ee7d11cd..c2642414a58 100644
--- a/source/blender/src/multires.c
+++ b/source/blender/src/multires.c
@@ -1600,9 +1600,9 @@ void multires_edge_level_update(void *ob, void *me_v)
const int ndx= me->pv ? me->pv->edge_map[i] : i;
if(ndx != -1) { /* -1= hidden edge */
if(me->mr->edgelvl >= me->mr->current || i<threshold)
- me->medge[ndx].flag |= ME_EDGEDRAW;
+ me->medge[ndx].flag |= ME_EDGEDRAW | ME_EDGERENDER;
else
- me->medge[ndx].flag &= ~ME_EDGEDRAW;
+ me->medge[ndx].flag &= ~ME_EDGEDRAW | ~ME_EDGERENDER;
}
}