forked from bartvdbraak/blender
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:
parent
13c0ef139f
commit
fdcca14090
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user