[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55531] trunk/blender/source/blender: Code cleanup:
Thomas Dinges
blender at dingto.org
Sat Mar 23 09:25:30 CET 2013
Revision: 55531
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55531
Author: dingto
Date: 2013-03-23 08:25:29 +0000 (Sat, 23 Mar 2013)
Log Message:
-----------
Code cleanup:
* Remove already deprecated USER_DISABLE_AA flag from code, only commented DNA flag left.
Modified Paths:
--------------
trunk/blender/source/blender/editors/space_view3d/view3d_draw.c
trunk/blender/source/blender/makesrna/intern/rna_userdef.c
Modified: trunk/blender/source/blender/editors/space_view3d/view3d_draw.c
===================================================================
--- trunk/blender/source/blender/editors/space_view3d/view3d_draw.c 2013-03-23 07:27:10 UTC (rev 55530)
+++ trunk/blender/source/blender/editors/space_view3d/view3d_draw.c 2013-03-23 08:25:29 UTC (rev 55531)
@@ -3253,7 +3253,6 @@
/* enables anti-aliasing for 3D view drawing */
if (U.ogl_multisamples != USER_MULTISAMPLE_NONE) {
- // if (!(U.gameflags & USER_DISABLE_AA))
glEnable(GL_MULTISAMPLE_ARB);
}
@@ -3371,7 +3370,6 @@
/* Disable back anti-aliasing */
if (U.ogl_multisamples != USER_MULTISAMPLE_NONE) {
- // if (!(U.gameflags & USER_DISABLE_AA))
glDisable(GL_MULTISAMPLE_ARB);
}
Modified: trunk/blender/source/blender/makesrna/intern/rna_userdef.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_userdef.c 2013-03-23 07:27:10 UTC (rev 55530)
+++ trunk/blender/source/blender/makesrna/intern/rna_userdef.c 2013-03-23 08:25:29 UTC (rev 55531)
@@ -3481,13 +3481,6 @@
/* this isn't essential but nice to check if VBO draws any differently */
RNA_def_property_update(prop, NC_WINDOW, NULL);
-#if 0
- prop = RNA_def_property(srna, "use_antialiasing", PROP_BOOLEAN, PROP_NONE);
- RNA_def_property_boolean_negative_sdna(prop, NULL, "gameflags", USER_DISABLE_AA);
- RNA_def_property_ui_text(prop, "Anti-aliasing",
- "Use anti-aliasing for the 3D view (may impact redraw performance)");
-#endif
-
prop = RNA_def_property(srna, "anisotropic_filter", PROP_ENUM, PROP_NONE);
RNA_def_property_enum_sdna(prop, NULL, "anisotropic_filter");
RNA_def_property_enum_items(prop, anisotropic_items);
More information about the Bf-blender-cvs
mailing list