Merge branch 'kimkulling/introduce_compression' of https://github.com/assimp/assimp into kimkulling/introduce_compression
commit
416f823866
|
@ -13,7 +13,8 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
name: [ubuntu-latest-g++, macos-latest-clang++, windows-latest-cl.exe, ubuntu-latest-clang++, ubuntu-gcc-hunter, macos-clang-hunter, windows-msvc-hunter]
|
#name: [ubuntu-latest-g++, macos-latest-clang++, windows-latest-cl.exe, ubuntu-latest-clang++, ubuntu-gcc-hunter, macos-clang-hunter, windows-msvc-hunter]
|
||||||
|
name: [ubuntu-latest-g++, macos-latest-clang++, windows-latest-cl.exe, ubuntu-latest-clang++, ubuntu-gcc-hunter, macos-clang-hunter]
|
||||||
# For Windows msvc, for Linux and macOS let's use the clang compiler, use gcc for Linux.
|
# For Windows msvc, for Linux and macOS let's use the clang compiler, use gcc for Linux.
|
||||||
include:
|
include:
|
||||||
- name: windows-latest-cl.exe
|
- name: windows-latest-cl.exe
|
||||||
|
@ -38,9 +39,9 @@ jobs:
|
||||||
- name: macos-clang-hunter
|
- name: macos-clang-hunter
|
||||||
os: macos-latest
|
os: macos-latest
|
||||||
toolchain: ninja-clang-cxx17-fpic
|
toolchain: ninja-clang-cxx17-fpic
|
||||||
- name: windows-msvc-hunter
|
#- name: windows-msvc-hunter
|
||||||
os: windows-latest
|
# os: windows-latest
|
||||||
toolchain: ninja-vs-win64-cxx17
|
# toolchain: ninja-vs-win64-cxx17
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
|
@ -83,9 +83,13 @@ AnimResolver::AnimResolver(std::list<Envelope> &_envelopes, double tick) :
|
||||||
(*it).old_first = 0;
|
(*it).old_first = 0;
|
||||||
(*it).old_last = (*it).keys.size() - 1;
|
(*it).old_last = (*it).keys.size() - 1;
|
||||||
|
|
||||||
if ((*it).keys.empty()) continue;
|
if ((*it).keys.empty()) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
if ((int)(*it).type < 1 || (int)(*it).type>EnvelopeType_Unknown) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
switch ((*it).type) {
|
switch ((*it).type) {
|
||||||
|
|
||||||
// translation
|
// translation
|
||||||
case LWO::EnvelopeType_Position_X:
|
case LWO::EnvelopeType_Position_X:
|
||||||
trans_x = &*it;
|
trans_x = &*it;
|
||||||
|
|
|
@ -48,6 +48,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
#include <cstddef> // size_t
|
||||||
|
|
||||||
namespace Assimp {
|
namespace Assimp {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue