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:
authorNathan Letwory <nathan@letworyinteractive.com>2010-12-15 00:46:03 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2010-12-15 00:46:03 +0300
commit100d611ce53f759508b29c819b0033cbf8bbb167 (patch)
treee76b37d37cfa20a35465e01541b084acc522185a /source/blender/collada/collada.cpp
parent7775a1a798dd6130140e82f97a1b5e0abea4b8ec (diff)
Apply patch [#25224] Refactor COLLADA DocumentImporter
Submitted by Martijn Berger. Make DocumentImporter class the actual IWriter implementation and move prototype to the header. Group together functions that we should move out of the class. No functional changes.
Diffstat (limited to 'source/blender/collada/collada.cpp')
-rw-r--r--source/blender/collada/collada.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/collada/collada.cpp b/source/blender/collada/collada.cpp
index d499249cfa2..d040e99c4b9 100644
--- a/source/blender/collada/collada.cpp
+++ b/source/blender/collada/collada.cpp
@@ -32,8 +32,8 @@ extern "C"
int collada_import(bContext *C, const char *filepath)
{
- DocumentImporter imp;
- imp.import(C, filepath);
+ DocumentImporter imp (C, filepath);
+ imp.import();
return 1;
}