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-02-01 19:17:51 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-02-01 19:17:51 +0400
commit6baf63c83b2f138ba3d52d4123a6ee8cb9078cb5 (patch)
tree2fc6c508e78148858f76a9e8f314c573acbbbc25 /source/blender/collada/DocumentImporter.cpp
parent496c3e4f8fc8c1e9319477f3f2f75f6474bb4b5f (diff)
Fix some warnings in the collade code, but did not fix two because they seem
to indicate bugs, left a comment about those.
Diffstat (limited to 'source/blender/collada/DocumentImporter.cpp')
-rw-r--r--source/blender/collada/DocumentImporter.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/collada/DocumentImporter.cpp b/source/blender/collada/DocumentImporter.cpp
index 1d8be5910c6..b818008ac17 100644
--- a/source/blender/collada/DocumentImporter.cpp
+++ b/source/blender/collada/DocumentImporter.cpp
@@ -414,7 +414,7 @@ void DocumentImporter::create_constraints(ExtraTags *et, Object *ob){
std::string name;
short* type = 0;
et->setData("type", type);
- bConstraint * con = BKE_add_ob_constraint(ob, "Test_con", *type);
+ BKE_add_ob_constraint(ob, "Test_con", *type);
}
}
@@ -425,8 +425,6 @@ void DocumentImporter::write_node(COLLADAFW::Node *node, COLLADAFW::Node *parent
bool is_joint = node->getType() == COLLADAFW::Node::JOINT;
bool read_transform = true;
- ExtraTags *et = getExtraTags(node->getUniqueId());
-
std::vector<Object *> *objects_done = new std::vector<Object *>();
if (is_joint) {