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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-04-30 14:00:55 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-04-30 14:00:55 +0400
commit281f50cfcc644148366d58362403d83efeefb62f (patch)
treeff3b6c3942ffef378d7b5120ae88be4c84917da2 /intern/cycles/util/util_boundbox.h
parentd113fd8ab70a7df22a4ec4c26fce7a68aa98fb1a (diff)
Fix visual studio debug build issue with BVH boundbox, pointed out by Agustin Benavidez.
Diffstat (limited to 'intern/cycles/util/util_boundbox.h')
-rw-r--r--intern/cycles/util/util_boundbox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/util/util_boundbox.h b/intern/cycles/util/util_boundbox.h
index 9511b48e103..b35c4c12bb8 100644
--- a/intern/cycles/util/util_boundbox.h
+++ b/intern/cycles/util/util_boundbox.h
@@ -50,7 +50,7 @@ public:
{
}
- static struct empty_t {} empty;
+ enum empty_t { empty = 0};
__forceinline BoundBox(empty_t)
: min(make_float3(FLT_MAX, FLT_MAX, FLT_MAX)), max(make_float3(-FLT_MAX, -FLT_MAX, -FLT_MAX))