Skip to content

Commit

Permalink
Release 1.0.0-alpha.16; Fix compiling BUG (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
shrinktofit authored Mar 29, 2021
1 parent fe09216 commit aac47e2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Core/Source/bee/Convert/SceneConverter.Animation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -347,10 +347,7 @@ SceneConverter::MorphAnimation SceneConverter::_extractWeightsAnimation(
target_shapes_.begin(), target_shapes_.end(),
[animWeight](
const std::decay_t<decltype(target_shapes_)>::value_type
&target_) {
const auto &[targetShape, targetWeightThreshold] = target_;
return targetWeightThreshold >= animWeight;
});
&target_) { return std::get<1>(target_) >= animWeight; });

if (firstNotLessThan == target_shapes_.begin()) {
const auto firstThreshold = std::get<1>(target_shapes_.front());
Expand Down

0 comments on commit aac47e2

Please sign in to comment.