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:
Diffstat (limited to 'source/gameengine/SceneGraph/SG_Tree.cpp')
-rw-r--r--source/gameengine/SceneGraph/SG_Tree.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/SceneGraph/SG_Tree.cpp b/source/gameengine/SceneGraph/SG_Tree.cpp
index fcbf3d924d3..947d771f06c 100644
--- a/source/gameengine/SceneGraph/SG_Tree.cpp
+++ b/source/gameengine/SceneGraph/SG_Tree.cpp
@@ -366,9 +366,9 @@ SG_Tree* SG_TreeFactory::MakeTreeUp()
while (num_objects > 2)
{
/* Find the pair of bboxes that produce the smallest combined bbox. */
- unsigned int minx, miny;
+ unsigned int minx = UINT_MAX, miny = UINT_MAX;
MT_Scalar min_volume = FLT_MAX;
- SG_Tree *min;
+ SG_Tree *min = NULL;
//char temp[16];
for( y = 0; y < num_objects; y++)
{