From b3e858956ab21a3a546b73dad8b27a803b07487e Mon Sep 17 00:00:00 2001 From: Alexandre Avenel Date: Fri, 21 Sep 2018 19:35:54 +0200 Subject: [PATCH] Fix #2149 Add flag to embed textures in assimp_cmd --- tools/assimp_cmd/Main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/assimp_cmd/Main.cpp b/tools/assimp_cmd/Main.cpp index 41412b93d..8a39540d1 100644 --- a/tools/assimp_cmd/Main.cpp +++ b/tools/assimp_cmd/Main.cpp @@ -466,6 +466,9 @@ int ProcessStandardArguments( else if (! strcmp( param, "-sbc") || ! strcmp( param, "--split-by-bone-count")) { 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)) { const unsigned int ofs = (params[i][1] == '-' ? 9 : 2);