Fix #35255: build for older OpenCollada versions failed, but don't see a good

reason to not keep it working.
This commit is contained in:
Brecht Van Lommel 2013-05-08 10:07:58 +00:00
parent 13c0ef139f
commit fdcca14090
2 changed files with 15 additions and 0 deletions

@ -62,6 +62,15 @@ bool ExtraHandler::textData(const char *text, size_t textLength)
return true;
}
bool ExtraHandler::parseElement(
const char *profileName,
const unsigned long& elementHash,
const COLLADAFW::UniqueId& uniqueId)
{
/* implement for backwards compatibility, new version added object parameter */
return parseElement(profileName, elementHash, uniqueId, NULL);
}
bool ExtraHandler::parseElement(
const char *profileName,
const unsigned long& elementHash,

@ -63,6 +63,12 @@ public:
const unsigned long& elementHash,
const COLLADAFW::UniqueId& uniqueId,
COLLADAFW::Object* object);
/** For backwards compatibility with older OpenCollada, new version added object parameter */
bool parseElement (
const char* profileName,
const unsigned long& elementHash,
const COLLADAFW::UniqueId& uniqueId);
private:
/** Disable default copy constructor. */
ExtraHandler(const ExtraHandler& pre);