Skip to content

Commit ff305a3

Browse files
committed
Fix a bug: the parser can't parse the array that it's item type is a map
1 parent 476c24e commit ff305a3

File tree

24 files changed

+56
-51
lines changed

24 files changed

+56
-51
lines changed

CHANGELOG.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Change Log
22

3-
## 0.1.7 (2020/10/15)
3+
## 0.1.8 (2021-01-29)
4+
5+
* Fix a bug: the parser can't parse the array that it's item type is a map
6+
7+
## 0.1.7 (2020-10-15)
48

59
* Supports the `KHR_lights_punctual`
610
* Compile by github action
@@ -13,11 +17,11 @@
1317

1418
* Fix some bugs
1519

16-
## 0.1.4 (2018/11/5)
20+
## 0.1.4 (2018-11-5)
1721

1822
* Support Android and iOS platforms
1923

20-
## 0.0.1 (2017/12/5)
24+
## 0.0.1 (2017-12-5)
2125

2226
### Changes
2327

LICENSE renamed to LICENSE.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
1-
# The MIT License
1+
MIT License
22

3-
This software is released under the MIT license.
3+
Copyright (c) 2017-2021 Code 4 Game, Org. All Rights Reserved.
44

5-
Copyright (c) 2017-2020 Alex Chi, The Code 4 Game Organization
6-
7-
Permission is hereby granted, free of charge, to any person obtaining a copy of
8-
this software and associated documentation files (the "Software"), to deal in
9-
the Software without restriction, including without limitation the rights to
10-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
11-
of the Software, and to permit persons to whom the Software is furnished to do
12-
so, subject to the following conditions:
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
1311

1412
The above copyright notice and this permission notice shall be included in all
1513
copies or substantial portions of the Software.

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
# -- Project information -----------------------------------------------------
1919

2020
project = 'libgltf'
21-
copyright = '2020, Alex Chi'
22-
author = 'Alex Chi'
21+
copyright = '2021, Code 4 Game'
22+
author = 'Xing Ji'
2323

2424

2525
# -- General configuration ---------------------------------------------------

include/libgltf/libgltf.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* This software is released under the MIT license.
33
*
4-
* Copyright (c) 2017-2020 Alex Chi, The Code 4 Game Organization
4+
* Copyright (c) 2017-2021 Code 4 Game, Org. All Rights Reserved.
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy of
77
* this software and associated documentation files (the "Software"), to deal in
@@ -660,7 +660,7 @@ namespace libgltf
660660
// The type of primitives to render.
661661
int32_t mode;
662662
// An array of Morph Targets, each Morph Target is a dictionary mapping attributes (only `POSITION`, `NORMAL`, and `TANGENT` supported) to their deviations in the Morph Target.
663-
std::vector<std::shared_ptr<SGlTFId>> targets;
663+
std::vector<std::map<string_t, std::shared_ptr<SGlTFId>>> targets;
664664
};
665665

666666
/*!

source/libgltf/common.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* This software is released under the MIT license.
33
*
4-
* Copyright (c) 2017-2020 Alex Chi, The Code 4 Game Organization
4+
* Copyright (c) 2017-2021 Alex Chi, The Code 4 Game Organization
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy of
77
* this software and associated documentation files (the "Software"), to deal in

source/libgltf/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* This software is released under the MIT license.
33
*
4-
* Copyright (c) 2017-2020 Alex Chi, The Code 4 Game Organization
4+
* Copyright (c) 2017-2021 Alex Chi, The Code 4 Game Organization
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy of
77
* this software and associated documentation files (the "Software"), to deal in

source/libgltf/extensions/google_draco.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* This software is released under the MIT license.
33
*
4-
* Copyright (c) 2017-2020 Alex Chi, The Code 4 Game Organization
4+
* Copyright (c) 2017-2021 Alex Chi, The Code 4 Game Organization
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy of
77
* this software and associated documentation files (the "Software"), to deal in

source/libgltf/extensions/google_draco.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* This software is released under the MIT license.
33
*
4-
* Copyright (c) 2017-2020 Alex Chi, The Code 4 Game Organization
4+
* Copyright (c) 2017-2021 Alex Chi, The Code 4 Game Organization
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy of
77
* this software and associated documentation files (the "Software"), to deal in

source/libgltf/file_loader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* This software is released under the MIT license.
33
*
4-
* Copyright (c) 2017-2020 Alex Chi, The Code 4 Game Organization
4+
* Copyright (c) 2017-2021 Alex Chi, The Code 4 Game Organization
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy of
77
* this software and associated documentation files (the "Software"), to deal in

source/libgltf/file_loader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* This software is released under the MIT license.
33
*
4-
* Copyright (c) 2017-2020 Alex Chi, The Code 4 Game Organization
4+
* Copyright (c) 2017-2021 Alex Chi, The Code 4 Game Organization
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy of
77
* this software and associated documentation files (the "Software"), to deal in

0 commit comments

Comments
 (0)