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:
authorCampbell Barton <ideasman42@gmail.com>2010-08-25 16:01:15 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-25 16:01:15 +0400
commit967154497dea50b75771b5ae3df630d8f739ac13 (patch)
tree418a24c001505c4c4f27d352f9fadf44f5e6adbe /source/blender/editors/space_view3d/drawvolume.c
parent85dcd4c636e6ef68a962d37666412f0cc124f6f6 (diff)
patch [#23376] Fix for Bug[[#23351] X-Ray + Transparency removes X-Ray effect
from Phil Gosch (saphires) minor edit on the patch, was adding V3D_XRAY and V3D_XRAYTRANSP lists, only add to one.
Diffstat (limited to 'source/blender/editors/space_view3d/drawvolume.c')
-rw-r--r--source/blender/editors/space_view3d/drawvolume.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/drawvolume.c b/source/blender/editors/space_view3d/drawvolume.c
index 65786901868..678920f8173 100644
--- a/source/blender/editors/space_view3d/drawvolume.c
+++ b/source/blender/editors/space_view3d/drawvolume.c
@@ -116,6 +116,7 @@ static void tend ( void )
{
gettimeofday ( &_tend,&tz );
}
+ #if 0
static double tval()
{
double t1, t2;
@@ -123,6 +124,7 @@ static double tval()
t2 = ( double ) _tend.tv_sec*1000 + ( double ) _tend.tv_usec/ ( 1000 );
return t2-t1;
}
+ #endif
#endif
struct GPUTexture;