diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-10-17 12:56:36 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-10-17 12:57:19 +0400 |
commit | 80a3f4fecfe6e12674aba8fe3327ca33b3de3bef (patch) | |
tree | a49415bd283f91323186048b543b50149e2c2d38 | |
parent | 49d49d2c842b9d61c799083cd2409ba0a9bdcfba (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.cpp | 2 |
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() |