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:
authorTon Roosendaal <ton@blender.org>2006-11-22 13:32:41 +0300
committerTon Roosendaal <ton@blender.org>2006-11-22 13:32:41 +0300
commit7267159afb673ade6bf3f35059ce5d614016df1f (patch)
tree72e337f99902474be5150b1a9e1a90c39ab85601 /source/blender/src/vpaint.c
parentcca16111bfda389265fef6f30004ef6322f620c8 (diff)
Bugfixes:
- SHIFT+K in weightpaint+faceselect combo crashed (caused by my commit for real undo in painting) - weightpaint+faceselect combo didn't draw correct anymore (caused by commit for custom mesh layers)
Diffstat (limited to 'source/blender/src/vpaint.c')
-rw-r--r--source/blender/src/vpaint.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/vpaint.c b/source/blender/src/vpaint.c
index cd3553abfd1..ed6379b816c 100644
--- a/source/blender/src/vpaint.c
+++ b/source/blender/src/vpaint.c
@@ -388,6 +388,7 @@ void clear_wpaint_selectedfaces()
}
/* end copy from weight_paint*/
+ copy_wpaint_prev(&Gwp, me->dvert, me->totvert);
for(index=0; index<me->totface; index++) {
if(indexar[index] && indexar[index]<=me->totface) {
@@ -434,6 +435,7 @@ void clear_wpaint_selectedfaces()
}
MEM_freeN(indexar);
+ copy_wpaint_prev(&Gwp, NULL, 0);
DAG_object_flush_update(G.scene, ob, OB_RECALC_DATA);
BIF_undo_push("Set vertex weight");