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-10-17 12:56:36 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-10-17 12:57:19 +0400
commit80a3f4fecfe6e12674aba8fe3327ca33b3de3bef (patch)
treea49415bd283f91323186048b543b50149e2c2d38
parent49d49d2c842b9d61c799083cd2409ba0a9bdcfba (diff)
Cycles: Fix for possibly uninitialized variable
That's rather harmless in the master, just could cause some issues with the patches.
-rw-r--r--intern/cycles/render/mesh.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/render/mesh.cpp b/intern/cycles/render/mesh.cpp
index 42103396b53..6137f7d4fdc 100644
--- a/intern/cycles/render/mesh.cpp
+++ b/intern/cycles/render/mesh.cpp
@@ -93,6 +93,8 @@ Mesh::Mesh()
attributes.triangle_mesh = this;
curve_attributes.curve_mesh = this;
+
+ has_volume = false;
}
Mesh::~Mesh()