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-02-05 21:42:11 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-02-05 21:46:01 +0400
commit6a4f2fd552f48db76d19f94b3d4262712b7f3e7b (patch)
tree1bdb8446bf2b27386b9bb852fdc7549eb87f19dc /source/blender/editors/space_view3d/view3d_draw.c
parent78c491e62a573eac647085a0520cb35526d6fcc3 (diff)
Fix T35810: Texture faces display white in 3D view, when used as a Particle Object
This in fact seems some kind of video driver limitation, because it worked fine on windows but failed on linux here. The guess is that textures doesn't always work on display lists, or we simply do have some wrong OGL context somewhere. This is a workaround for until bigger viewport draw refactor is done (as Brecht mentioned display lists are deprecated in new OGL anyway).
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_draw.c')
-rw-r--r--source/blender/editors/space_view3d/view3d_draw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c
index 08ef6910190..adedbc6277a 100644
--- a/source/blender/editors/space_view3d/view3d_draw.c
+++ b/source/blender/editors/space_view3d/view3d_draw.c
@@ -2034,6 +2034,7 @@ static void draw_dupli_objects_color(Scene *scene, ARegion *ar, View3D *v3d, Bas
(dob->type == OB_DUPLIGROUP && dob->animated) ||
!(bb_tmp = BKE_object_boundbox_get(dob->ob)) ||
draw_glsl_material(scene, dob->ob, v3d, dt) ||
+ check_object_draw_texture(scene, v3d, dt) ||
(base->object == OBACT && v3d->flag2 & V3D_SOLID_MATCAP))
{
// printf("draw_dupli_objects_color: skipping displist for %s\n", dob->ob->id.name + 2);