[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24286] branches/sculpt25/source/blender: Removed the unused partial redraw flag from sculpt.
Nicholas Bishop
nicholasbishop at gmail.com
Tue Nov 3 22:58:26 CET 2009
Revision: 24286
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24286
Author: nicholasbishop
Date: 2009-11-03 22:58:24 +0100 (Tue, 03 Nov 2009)
Log Message:
-----------
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.
Modified Paths:
--------------
branches/sculpt25/source/blender/editors/space_view3d/drawobject.c
branches/sculpt25/source/blender/makesdna/DNA_scene_types.h
branches/sculpt25/source/blender/makesrna/intern/rna_sculpt_paint.c
Modified: branches/sculpt25/source/blender/editors/space_view3d/drawobject.c
===================================================================
--- branches/sculpt25/source/blender/editors/space_view3d/drawobject.c 2009-11-03 18:56:42 UTC (rev 24285)
+++ branches/sculpt25/source/blender/editors/space_view3d/drawobject.c 2009-11-03 21:58:24 UTC (rev 24286)
@@ -2971,10 +2971,6 @@
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)) {
Modified: branches/sculpt25/source/blender/makesdna/DNA_scene_types.h
===================================================================
--- branches/sculpt25/source/blender/makesdna/DNA_scene_types.h 2009-11-03 18:56:42 UTC (rev 24285)
+++ branches/sculpt25/source/blender/makesdna/DNA_scene_types.h 2009-11-03 21:58:24 UTC (rev 24286)
@@ -1052,7 +1052,6 @@
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,
Modified: branches/sculpt25/source/blender/makesrna/intern/rna_sculpt_paint.c
===================================================================
--- branches/sculpt25/source/blender/makesrna/intern/rna_sculpt_paint.c 2009-11-03 18:56:42 UTC (rev 24285)
+++ branches/sculpt25/source/blender/makesrna/intern/rna_sculpt_paint.c 2009-11-03 21:58:24 UTC (rev 24286)
@@ -207,10 +207,6 @@
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)
More information about the Bf-blender-cvs
mailing list