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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2006-03-11 19:13:10 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2006-03-11 19:13:10 +0300
commit7d5be54fec482cedb93499f9c156aaf03fa407d6 (patch)
tree4e04e3aa5ddc3855c1e082fef3429a2c23056fc7 /source/blender/src/vpaint.c
parent5f550b4ceb0d4888ac4be914b4051c02b9c8d375 (diff)
Fix for bug #3802: Display problems with modifiers and uv face select
The bug reported here was already fixed some weeks ago, but there were more issues. Modifier display in face select and paint modes was never properly finished. This fixes some small drawing update glitches, and only allows modifiers that preserve a mapping to the original mesh to be applied. Otherwise selection and painting isn't even possible.
Diffstat (limited to 'source/blender/src/vpaint.c')
-rw-r--r--source/blender/src/vpaint.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/src/vpaint.c b/source/blender/src/vpaint.c
index 63995aa5214..8f708dd24b3 100644
--- a/source/blender/src/vpaint.c
+++ b/source/blender/src/vpaint.c
@@ -1669,14 +1669,15 @@ void set_vpaint(void) /* toggle */
allqueue(REDRAWVIEW3D, 1); /* including header */
allqueue(REDRAWBUTSEDIT, 0);
+ if (me)
+ /* update modifier stack for mapping requirements */
+ DAG_object_flush_update(G.scene, ob, OB_RECALC_DATA);
+
if(G.f & G_VERTEXPAINT) {
setcursor_space(SPACE_VIEW3D, CURSOR_VPAINT);
}
else {
freefastshade(); /* to be sure */
- if (me) {
- DAG_object_flush_update(G.scene, ob, OB_RECALC_DATA);
- }
if((G.f & G_FACESELECT)==0) setcursor_space(SPACE_VIEW3D, CURSOR_STD);
}
}