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-01-22 04:33:18 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2007-01-22 04:33:18 +0300
commit9692614bd820741143d63ea37728e5bb8e80202b (patch)
tree9e62e00efc7c8a5d7d0e9eb8c23bdc71aa9b7665 /source/blender/src/multires.c
parentc82c2419e2c35e3da28d10af0064d9d9413cd8e7 (diff)
== Multires ==
Fixed part 2 of bug #5749, Modifier redraw problems? * Added an object flush after changing the Edge level on a multires mesh so the edges update when a Subsurf modifier is active. Note that "Optimal Draw" must be turned on in the Subsurf options, otherwise it draws all edges.
Diffstat (limited to 'source/blender/src/multires.c')
-rw-r--r--source/blender/src/multires.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/multires.c b/source/blender/src/multires.c
index 554cdf3e9e8..43746521480 100644
--- a/source/blender/src/multires.c
+++ b/source/blender/src/multires.c
@@ -1565,7 +1565,8 @@ void multires_edge_level_update(void *ob, void *me_v)
me->medge[ndx].flag &= ~ME_EDGEDRAW;
}
}
-
+
+ DAG_object_flush_update(G.scene, ob, OB_RECALC_DATA);
allqueue(REDRAWVIEW3D, 0);
}
}