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-14 07:55:51 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2007-01-14 07:55:51 +0300
commite835a0ea554f2a49344dfb3014634974b67cdc18 (patch)
treebdb1ecfab2cf8b8f9216897305159d602fb62f0b /source/blender/src/drawobject.c
parent8903169218de302bb0cb8d4607d450b431069dc6 (diff)
Removed draw_mode from SculptData, replaced with draw_flag, which currently controls whether to use partial redraw and whether to draw the brush circle. Added new menu option for display of brush circle.
Diffstat (limited to 'source/blender/src/drawobject.c')
-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 a39d997a08f..cdc49f49fe5 100644
--- a/source/blender/src/drawobject.c
+++ b/source/blender/src/drawobject.c
@@ -2162,7 +2162,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_mode &&
+ else if(!G.obedit && (G.scene->sculptdata.draw_flag & SCULPTDRAW_FAST) &&
OBACT==ob && !sculpt_modifiers_active(ob)) {
sculptmode_draw_mesh(0);
}