Merge branch 'master' into fix_dxf_viewer

pull/3934/head
Kim Kulling 2021-05-30 21:56:15 +02:00 committed by GitHub
commit 35c506fcf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -202,17 +202,17 @@ struct aiMetadata {
} break; } break;
case AI_AISTRING: { case AI_AISTRING: {
aiString v; aiString v;
rhs.Get<aiString>(mKeys[i], v); rhs.Get<aiString>(static_cast<unsigned int>(i), v);
mValues[i].mData = new aiString(v); mValues[i].mData = new aiString(v);
} break; } break;
case AI_AIVECTOR3D: { case AI_AIVECTOR3D: {
aiVector3D v; aiVector3D v;
rhs.Get<aiVector3D>(mKeys[i], v); rhs.Get<aiVector3D>(static_cast<unsigned int>(i), v);
mValues[i].mData = new aiVector3D(v); mValues[i].mData = new aiVector3D(v);
} break; } break;
case AI_AIMETADATA: { case AI_AIMETADATA: {
aiMetadata v; aiMetadata v;
rhs.Get<aiMetadata>(mKeys[i], v); rhs.Get<aiMetadata>(static_cast<unsigned int>(i), v);
mValues[i].mData = new aiMetadata(v); mValues[i].mData = new aiMetadata(v);
} break; } break;
#ifndef SWIG #ifndef SWIG