Removed the unused partial redraw flag from sculpt. It's original purpose was to work around graphics cards that didn't support the old partial redraw method, but that should no longer be an issue.
This commit is contained in:
@@ -2971,10 +2971,6 @@ static int draw_mesh_object(Scene *scene, ARegion *ar, View3D *v3d, RegionView3D
|
||||
if (obedit!=ob && finalDM)
|
||||
finalDM->release(finalDM);
|
||||
}
|
||||
// else if(!em && (G.f & G_SCULPTMODE) &&(scene->sculptdata.flags & SCULPT_DRAW_FAST) &&
|
||||
// OBACT==ob && !sculpt_modifiers_active(ob)) {
|
||||
// XXX sculptmode_draw_mesh(0);
|
||||
// }
|
||||
else {
|
||||
/* don't create boundbox here with mesh_get_bb(), the derived system will make it, puts deformed bb's OK */
|
||||
if(me->totface<=4 || boundbox_clip(rv3d, ob->obmat, (ob->bb)? ob->bb: me->bb)) {
|
||||
|
||||
@@ -1052,7 +1052,6 @@ typedef enum SculptFlags {
|
||||
SCULPT_SYMM_Y = 2,
|
||||
SCULPT_SYMM_Z = 4,
|
||||
SCULPT_INPUT_SMOOTH = 8,
|
||||
SCULPT_DRAW_FAST = 16,
|
||||
SCULPT_DRAW_BRUSH = 32,
|
||||
SCULPT_LOCK_X = 64,
|
||||
SCULPT_LOCK_Y = 128,
|
||||
|
||||
@@ -207,10 +207,6 @@ static void rna_def_sculpt(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "show_brush", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flags", SCULPT_DRAW_BRUSH);
|
||||
RNA_def_property_ui_text(prop, "Show Brush", "");
|
||||
|
||||
prop= RNA_def_property(srna, "partial_redraw", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flags", SCULPT_DRAW_FAST);
|
||||
RNA_def_property_ui_text(prop, "Partial Redraw", "Optimize sculpting by only refreshing modified faces.");
|
||||
}
|
||||
|
||||
static void rna_def_vertex_paint(BlenderRNA *brna)
|
||||
|
||||
Reference in New Issue
Block a user