summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/core/render/frontend/material.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/render/frontend/material.cpp b/src/core/render/frontend/material.cpp
index 16ba6e8fb..4ed1154ca 100644
--- a/src/core/render/frontend/material.cpp
+++ b/src/core/render/frontend/material.cpp
@@ -49,7 +49,8 @@
namespace Qt3D {
Material::Material(Node *parent)
- : Component(parent)
+ : Component(parent),
+ m_effect(0)
{
}