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>2010-07-27 14:27:08 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-07-27 14:27:08 +0400
commit5fe3909a7bd2c9512e7511089e61d7025abec12e (patch)
tree64c870f4ad4505f795bd7c631f7afdb50c2380ad /source/blender
parent83ff2857ae8d87a28f51b008bac6d07346205b25 (diff)
Fix #23044: sculpted mesh not updated in object mode with VBO's enabled.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index 5efcfa22517..546fbc14dfa 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -3305,6 +3305,8 @@ static void sculpt_flush_update(bContext *C)
if(mmd)
multires_mark_as_modified(ob);
+ if(ob->derivedFinal) /* VBO no longer valid */
+ GPU_drawobject_free(ob->derivedFinal);
if(ss->modifiers_active) {
DAG_id_flush_update(&ob->id, OB_RECALC_DATA);