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>2007-02-09 17:05:12 +0300
committerTon Roosendaal <ton@blender.org>2007-02-09 17:05:12 +0300
commit3320a39e0ded417af4832af31e1376e4ed88e10e (patch)
treee59336d24ef15aa4a6ef165ceefc0ca6f08d84d9
parent23980a1783c4889bfb7b090b03e1fda6b42981c3 (diff)
Bugfix #5969
Sculpt: option "Partial Draw" was hanging, causing wrong mesh drawing outside of sculptmode (and no visible faceselect etc).
-rw-r--r--source/blender/src/drawobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/drawobject.c b/source/blender/src/drawobject.c
index 32b803c7eb9..cab02c4df69 100644
--- a/source/blender/src/drawobject.c
+++ b/source/blender/src/drawobject.c
@@ -2175,7 +2175,7 @@ static int draw_mesh_object(Base *base, int dt, int flag)
cageDM->release(cageDM);
finalDM->release(finalDM);
}
- else if(!G.obedit && (G.scene->sculptdata.draw_flag & SCULPTDRAW_FAST) &&
+ else if(!G.obedit && (G.f & G_SCULPTMODE) &&(G.scene->sculptdata.draw_flag & SCULPTDRAW_FAST) &&
OBACT==ob && !sculpt_modifiers_active(ob)) {
sculptmode_draw_mesh(0);
}