From 269eaff44ef84c3ba9f0917b3811926410c6ca3d Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 25 Jun 2016 13:33:27 +0100 Subject: [PATCH] Added initializer --- src/osgPlugins/lwo/Block.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/osgPlugins/lwo/Block.cpp b/src/osgPlugins/lwo/Block.cpp index 4c13bd576..5ebb19832 100644 --- a/src/osgPlugins/lwo/Block.cpp +++ b/src/osgPlugins/lwo/Block.cpp @@ -15,7 +15,8 @@ using namespace lwosg; Block::Block(const lwo2::FORM::SURF::BLOK *blok) : enabled_(true), opacity_type_(ADDITIVE), - opacity_amount_(1) + opacity_amount_(1), + displacement_axis_(X) { if (blok) { compile(blok);