From 4507dd9a7e0b1980ac7fb2e0a26a460fd62671e6 Mon Sep 17 00:00:00 2001 From: Gaia Clary Date: Sun, 14 Jul 2013 16:24:42 +0000 Subject: Removed unused paramter from ArmatureImporter:add_joint() --- source/blender/collada/ArmatureImporter.cpp | 2 +- source/blender/collada/ArmatureImporter.h | 2 +- source/blender/collada/DocumentImporter.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender') diff --git a/source/blender/collada/ArmatureImporter.cpp b/source/blender/collada/ArmatureImporter.cpp index 8791d94f44a..121e4d1d605 100644 --- a/source/blender/collada/ArmatureImporter.cpp +++ b/source/blender/collada/ArmatureImporter.cpp @@ -517,7 +517,7 @@ void ArmatureImporter::set_pose(Object *ob_arm, COLLADAFW::Node *root_node, con // root - if this joint is the top joint in hierarchy, if a joint // is a child of a node (not joint), root should be true since // this is where we build armature bones from -void ArmatureImporter::add_joint(COLLADAFW::Node *node, bool root, Object *parent, Scene *sce) +void ArmatureImporter::add_joint(COLLADAFW::Node *node, bool root, Object *parent) { joint_by_uid[node->getUniqueId()] = node; if (root) { diff --git a/source/blender/collada/ArmatureImporter.h b/source/blender/collada/ArmatureImporter.h index bfbf7433d97..bd17a925f3a 100644 --- a/source/blender/collada/ArmatureImporter.h +++ b/source/blender/collada/ArmatureImporter.h @@ -140,7 +140,7 @@ public: ArmatureImporter(UnitConverter *conv, MeshImporterBase *mesh, Scene *sce); ~ArmatureImporter(); - void add_joint(COLLADAFW::Node *node, bool root, Object *parent, Scene *sce); + void add_joint(COLLADAFW::Node *node, bool root, Object *parent); #if 0 void add_root_joint(COLLADAFW::Node *node); diff --git a/source/blender/collada/DocumentImporter.cpp b/source/blender/collada/DocumentImporter.cpp index 167ee7f40e4..af1113b337a 100644 --- a/source/blender/collada/DocumentImporter.cpp +++ b/source/blender/collada/DocumentImporter.cpp @@ -480,7 +480,7 @@ std::vector *DocumentImporter::write_node(COLLADAFW::Node *node, COLLA object_map.insert(std::pair(node->getUniqueId(), par)); node_map[node->getUniqueId()] = node; } - armature_importer.add_joint(node, parent_node == NULL || parent_node->getType() != COLLADAFW::Node::JOINT, par, sce); + armature_importer.add_joint(node, parent_node == NULL || parent_node->getType() != COLLADAFW::Node::JOINT, par); if (parent_node == NULL) { // for skeletons without root node all has been done above. -- cgit v1.2.3