Compare commits

..

1 Commits

Author SHA1 Message Date
Xiao Qi 24080969a6 Added flag to exclude from build in publish 2023-03-25 16:38:57 +08:00
5 changed files with 12 additions and 3371 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,12 +1,12 @@
outputdir = "%{wks.location}/bin/%{cfg.buildcfg}"
interdir = "%{wks.location}/bin_int"
workspace "ModelCompile"
architecture "x64"
configurations
{
"Release",
"Debug"
}
-- outputdir = "%{wks.location}/bin/%{cfg.buildcfg}"
-- interdir = "%{wks.location}/bin_int"
-- workspace "ModelCompile"
-- architecture "x64"
-- configurations
-- {
-- "Release",
-- "Debug"
-- }
project "ModelCompiler"
kind "ConsoleApp"
@ -56,5 +56,4 @@ project "ModelCompiler"
defines{"_RELEASE"}
filter "configurations:Publish"
optimize "On"
defines{"_RELEASE, _PUBLISH"}
flags {"ExcludeFromBuild"}

View File

@ -216,9 +216,6 @@ namespace SH_COMP
)
);
int nodeCounter{ 0 };
IndexType latest{ rig.header.startNode };
while (!nodeQueue.empty())
{
auto const currentPair = nodeQueue.front();
@ -235,17 +232,6 @@ namespace SH_COMP
reinterpret_cast<char const*>(&childCount),
sizeof(uint32_t)
);
nodeCounter++;
if (node.children.empty() && nodeCounter < rig.nodes.size())
{
nodeQueue.push(
std::make_pair(
++latest,
rig.nodes.data() + latest
)
);
}
for (auto const& child : node.children)
{
@ -253,8 +239,6 @@ namespace SH_COMP
child,
rig.nodes.data() + child
));
latest = latest < child ? child : latest;
}
}
}

View File

@ -39,6 +39,7 @@ namespace SH_COMP
std::vector<AnimData> anims;
RigData rig;
std::unordered_map<uint32_t, uint32_t> nodeIndexMap;
; };
}

View File

@ -18,7 +18,7 @@ int main(int argc, char* argv[])
{
std::vector<std::string> paths;
#if 0
#if 1
if (argc == 1)
{