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:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-01-09 20:42:11 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-01-13 13:57:50 +0400
commitba15dd595f91c694cd721ad880e930dea7e04501 (patch)
treeed99584cb404d3d657f5302f107d0fbbf54fddb5 /source/blender/editors/space_view3d
parent9386559db049d9cc3be0495d4cf550c3b1599f50 (diff)
Remove direct displist creation from drawing code
It was some kind of workaround for DAG glitch in 2009 (commit hash 8c5c7ebb0) and according to the comment was needed to make select outline show immediately. After some tests it appears DAG behaves almost fine now (just needed to make it so layer is flushed properly to the set scene) and no reason to have rather confusing call in the code.
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r--source/blender/editors/space_view3d/drawobject.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c
index 173e10b480f..9a296935c26 100644
--- a/source/blender/editors/space_view3d/drawobject.c
+++ b/source/blender/editors/space_view3d/drawobject.c
@@ -6789,14 +6789,6 @@ void draw_object(Scene *scene, ARegion *ar, View3D *v3d, Base *base, const short
}
if (!particle_skip_object) {
- /* bad exception, solve this! otherwise outline shows too late */
- if (ELEM3(ob->type, OB_CURVE, OB_SURF, OB_FONT)) {
- /* still needed for curves hidden in other layers. depgraph doesnt handle that yet */
- if (ELEM(NULL, ob->curve_cache, ob->curve_cache->disp.first)) {
- BKE_displist_make_curveTypes(scene, ob, 0);
- }
- }
-
/* draw outline for selected objects, mesh does itself */
if ((v3d->flag & V3D_SELECT_OUTLINE) && !render_override && ob->type != OB_MESH) {
if (dt > OB_WIRE && (ob->mode & OB_MODE_EDIT) == 0 && (dflag & DRAW_SCENESET) == 0) {