FBX import: fix import of direct data by vertices + unify node renaming

This commit is contained in:
FRICOTEAUX
2018-09-11 16:07:43 +02:00
parent 07a8bac415
commit d5de32ec1c
2 changed files with 3 additions and 7 deletions

View File

@@ -437,7 +437,7 @@ void ResolveVertexDataArray(std::vector<T>& data_out, const Scope& source,
// deal with this more elegantly and with less redundancy, but right
// now it seems unavoidable.
if (MappingInformationType == "ByVertice" && isDirect) {
if (!HasElement(source, indexDataElementName)) {
if (!HasElement(source, dataElementName)) {
return;
}
std::vector<T> tempData;