Fix #2149 Add flag to embed textures in assimp_cmd
parent
d585030310
commit
b3e858956a
|
@ -466,6 +466,9 @@ int ProcessStandardArguments(
|
||||||
else if (! strcmp( param, "-sbc") || ! strcmp( param, "--split-by-bone-count")) {
|
else if (! strcmp( param, "-sbc") || ! strcmp( param, "--split-by-bone-count")) {
|
||||||
fill.ppFlags |= aiProcess_SplitByBoneCount;
|
fill.ppFlags |= aiProcess_SplitByBoneCount;
|
||||||
}
|
}
|
||||||
|
else if (!strcmp(param, "-embtex") || ! strcmp(param, "--embed-textures")) {
|
||||||
|
fill.ppFlags |= aiProcess_EmbedTextures;
|
||||||
|
}
|
||||||
else if (! strncmp( param, "-c",2) || ! strncmp( param, "--config=",9)) {
|
else if (! strncmp( param, "-c",2) || ! strncmp( param, "--config=",9)) {
|
||||||
const unsigned int ofs = (params[i][1] == '-' ? 9 : 2);
|
const unsigned int ofs = (params[i][1] == '-' ? 9 : 2);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue