Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-05-08 14:07:58 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-05-08 14:07:58 +0400
commitfdcca14090ece17207ac89f171f85bd1e4236b4b (patch)
treec08578a080ce0017556ef97e0c7227cf2b833b99 /source/blender/collada/ExtraHandler.cpp
parent13c0ef139fa2c571b14fe2d10a73c8b1a0eb1bd0 (diff)
Fix #35255: build for older OpenCollada versions failed, but don't see a good
reason to not keep it working.
Diffstat (limited to 'source/blender/collada/ExtraHandler.cpp')
-rw-r--r--source/blender/collada/ExtraHandler.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/collada/ExtraHandler.cpp b/source/blender/collada/ExtraHandler.cpp
index c72fdd9766b..bef7accd9f7 100644
--- a/source/blender/collada/ExtraHandler.cpp
+++ b/source/blender/collada/ExtraHandler.cpp
@@ -65,6 +65,15 @@ bool ExtraHandler::textData(const char *text, size_t textLength)
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,
const COLLADAFW::UniqueId& uniqueId,
COLLADAFW::Object* object)
{