From Mathias Froehlich, "attached is a change to TexGenNode rev 10060 that removes a private member

variable that is only initialized and copied by never used seriously.
"
This commit is contained in:
Robert Osfield
2009-04-22 13:07:02 +00:00
parent 02b84e931e
commit 777b00353a
3 changed files with 1 additions and 4 deletions

View File

@@ -21,7 +21,6 @@ TexGenNode::TexGenNode():
setCullingActive(false);
_textureUnit = 0;
_value = StateAttribute::ON;
setStateSet(new StateSet);
_texgen = new TexGen;
}
@@ -29,7 +28,6 @@ TexGenNode::TexGenNode():
TexGenNode::TexGenNode(const TexGenNode& cn, const CopyOp& copyop):
Group(cn,copyop),
_textureUnit(cn._textureUnit),
_value(cn._value),
_texgen(static_cast<TexGen*>(copyop(cn._texgen.get()))),
_referenceFrame(cn._referenceFrame)
{
@@ -43,7 +41,6 @@ TexGenNode::TexGenNode(TexGen *texgen):
setCullingActive(false);
_textureUnit = 0;
_value = StateAttribute::ON;
setStateSet(new StateSet);
_texgen = texgen;
}