浏览代码

- fbx: fix small typo with big effect.

Alexander Gessler 13 年之前
父节点
当前提交
44259f0c23
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      code/FBXConverter.cpp

+ 3 - 2
code/FBXConverter.cpp

@@ -1329,6 +1329,7 @@ private:
 		// across multiple calls to FixNodeName().
 		if(name.substr(0,7) == "Model::") {
 			std::string temp = name.substr(7);
+			return temp;
 
 			const NodeNameMap::const_iterator it = node_names.find(temp);
 			if (it != node_names.end()) {
@@ -1416,8 +1417,8 @@ private:
 					kv.first, 
 					kv.second, 
 					layer_map, 
-					min_time, 
-					max_time);
+					max_time, 
+					min_time);
 			}
 		}
 		catch(std::exception&) {