]> git.mxchange.org Git - simgear.git/commit
Better error reporting for effects
authorTim Moore <timoore@redhat.com>
Thu, 26 Nov 2009 10:32:00 +0000 (11:32 +0100)
committerTim Moore <timoore@redhat.com>
Thu, 26 Nov 2009 10:32:00 +0000 (11:32 +0100)
commit2e71b64de1d937e2b7c34dd4a2365be455d0b82a
tree3311b3d33424a0c0e544ff7008c864e9251dd1b6
parent45f1f9263fe62c2eb086a092c823f8308e55fea2
Better error reporting for effects

Throw an exception when an undefine attribute value is found in an effect.

Also, fix a typo in TexEnvCombine operand attributes.
simgear/scene/material/EffectBuilder.cxx
simgear/scene/material/EffectBuilder.hxx
simgear/scene/material/TextureBuilder.cxx
simgear/scene/material/makeEffect.cxx