Files
OpenSceneGraph/include/osgDB
Robert Osfield bc6a94c5b3 From Michael Platings, "I've attached a fix for a subtle bug that causes animations (and quite possibly other things) to be serialized incorrectly.
For the following code:

#define MYMACRO(NAME) myOutputStream << #NAME;
MYMACRO(Group)

you would expect that "Group" would be output. However, as there are many overloaded operator<< functions, none of which take a const char* argument, the function that's actually called is operator<<(bool). Hence what actually gets output is "TRUE".
An actual example of this is in serializers\osgAnimation\Animation.cpp, WRITE_CHANNEL_FUNC2.

So the simple solution to this is to add operator<<(const char*), attached.
"
2011-01-18 16:14:24 +00:00
..
2009-06-19 11:04:48 +00:00
2006-07-18 15:21:48 +00:00
2009-01-07 10:32:59 +00:00
2010-11-22 11:22:03 +00:00
2010-11-26 12:22:06 +00:00
2010-04-13 09:42:53 +00:00