We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ce2275 commit 0d05af2Copy full SHA for 0d05af2
src/gltf/Raw2Gltf.cpp
@@ -156,12 +156,6 @@ ModelData* Raw2Gltf(
156
for (int i = 0; i < raw.GetAnimationCount(); i++) {
157
const RawAnimation& animation = raw.GetAnimation(i);
158
159
- if (animation.channels.size() == 0) {
160
- fmt::printf(
161
- "Warning: animation '%s' has zero channels. Skipping.\n", animation.name.c_str());
162
- continue;
163
- }
164
-
165
auto accessor = gltf->AddAccessorAndView(buffer, GLT_FLOAT, animation.times);
166
accessor->min = {*std::min_element(std::begin(animation.times), std::end(animation.times))};
167
accessor->max = {*std::max_element(std::begin(animation.times), std::end(animation.times))};
0 commit comments