I don't use this class, just looking at the patch, but is the change
from INTEGER to UNKNOWN intended?
Martins
On 6/24/11 4:34 AM, Robert Osfield wrote:
Thanks Ulrich, fixes merged and submitted to svn/trunk and OSG-3.0
branch. Cheers, Robert.
On Fri, Jun 24, 2011 at 8:52 AM, Ulrich Hertlein<[email protected]> wrote:
While we're on osgSim/ShapeAttribute, here's a fix that fixes the 'UNKNOW' typo
and some
doxygen:
class OSGSIM_EXPORT ShapeAttributeList : public osg::Object, public
osg::MixinVector<ShapeAttribute>
Index: src/osgSim/ShapeAttribute.cpp
===================================================================
--- src/osgSim/ShapeAttribute.cpp (revision 12622)
+++ src/osgSim/ShapeAttribute.cpp (working copy)
@@ -20,19 +20,19 @@
namespace osgSim
{
ShapeAttribute::ShapeAttribute() :
- _type(UNKNOW),
+ _type(UNKNOWN),
_integer(0)
{}
ShapeAttribute::ShapeAttribute(const char * name) :
_name(name),
- _type(UNKNOW),
+ _type(UNKNOWN),
_integer(0)
{}
ShapeAttribute::ShapeAttribute(const char * name, int value) :
_name(name),
- _type(INTEGER),
+ _type(UNKNOWN),
_integer(value)
{}
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org