Kim Kulling
b2f05a9a54
rename fuzzer target
2020-06-28 19:18:36 +02:00
Kim Kulling
45531df9aa
Merge pull request #3298 from Evangel63/recursive_metadata
...
Added arbitrary recursive metadata to allow for glTF2's extensions to…
2020-06-27 15:52:16 +02:00
Evangel
6d85280c8d
Added bool, removed unused debug parameter
2020-06-27 12:53:26 +10:00
Evangel
d75d59a4fd
Added operator== and operator!= to aiMetadata to allow for testing.
...
Updated utMetadata.copy_test to reflect that there's now 8 metadata types.
2020-06-26 15:07:42 +10:00
Evangel
f6b4370f6a
Added arbitrary recursive metadata to allow for glTF2's extensions to be properly represented.
...
Primary changes are to include/assimp/metadata.h, adding in the aiMetadata GetAiType function,
adding the operator= to allow an aiMetadata type to be assigned, adding a check for the
AI_AIMETADATA type flag as it can't be trivially memcpy'd.
operator= is implemented with a by-value argument as then the copy is made by the copy
constructor and we can just swap everything out and let the destructor handle the mess.
Implemented parsing of the "extensions" flag on all glTF2 Nodes. Doesn't use the ReadValue
helper function on numbers as it did not seem to fill out the Nullable structure properly.
2020-06-26 14:28:41 +10:00
Kim Kulling
b7b38c2282
Merge branch 'master' into patch-2
2020-06-25 16:52:40 +02:00
Kim Kulling
8a57d5df40
Merge pull request #3294 from rmstyrczula/FindInvalidData
...
FindInvalidDataProcess: Mark removed meshes as "out"
2020-06-25 16:50:51 +02:00
Kim Kulling
ba6af9ff98
Merge branch 'master' into FindInvalidData
2020-06-25 16:41:24 +02:00
Kim Kulling
50b55726d2
Merge pull request #3297 from MalcolmTyrrell/aiAssertHandler
...
Allow users to customize the behavior of assert violations
2020-06-25 14:15:32 +02:00
Kim Kulling
95e822a6ec
Merge branch 'master' into aiAssertHandler
2020-06-24 20:47:10 +02:00
Kim Kulling
e845988c22
Merge pull request #3296 from assimp/replace_NULL
...
Repo-Cleanup
2020-06-24 20:45:50 +02:00
Kim Kulling
1466bbacf8
fix unittests.
2020-06-24 20:30:02 +02:00
Malcolm Tyrrell
170c00eee7
Useful comment.
2020-06-24 11:51:03 +01:00
Malcolm Tyrrell
edaa8e4a80
Need to use ASSIMP_BUILD_DEBUG.
2020-06-24 11:37:43 +01:00
Kim Kulling
ae05dbb252
define CheckValidFacesIndices also in release builds.
2020-06-23 21:11:18 +02:00
Kim Kulling
6205af4efb
replace NULL and avoid ai_assert with more than 2 tests.
2020-06-23 21:05:42 +02:00
Malcolm Tyrrell
2977643352
Fix.
2020-06-23 12:08:06 +01:00
Malcolm Tyrrell
9188f56839
Allow assert handling to be replaced.
2020-06-23 11:55:51 +01:00
Ryan Styrczula
5717ea466f
FindInvalidDataProcess: Mark removed meshes as "out"
...
There's a code path where an input scene only has a single mesh.
In this case, if ProcessMesh returns 2, we delete the mesh and move on
with the postprocessing. UpdateMeshReferences is not called and so the
deleted mesh is left dangling in nodes.
In a later step (SplitMesh in my testing), it then tries to deference a
null pointer and we explode.
With `out = true`, we can now hit the DeadlyImportError instead of a
segfault.
2020-06-22 17:24:16 -04:00
Filip Lundgren
2006286528
Fix Maya PBR & stingray texture detection
2020-06-22 23:14:16 +02:00
Filip Lundgren
ba09e1ef94
Fix Blender .fbx metalness detection
2020-06-21 23:56:11 +02:00
Kim Kulling
6397bfbf90
replace NULL by nullptr on loadFile.
2020-06-21 12:03:38 +02:00
Kim Kulling
c70d57be4f
Merge pull request #3288 from infosia/themachinery-issues-0001
...
Check invalid vertex id for bone weight
2020-06-20 21:40:18 +02:00
Kota Iguchi
6acaaee80f
Check invalid vertex id for bone weight
2020-06-20 15:27:28 +09:00
Kim Kulling
c2a732938e
Merge pull request #3287 from assimp/issue_3253
...
closes https://github.com/assimp/assimp/issues/3253 : remove useless …
2020-06-18 20:01:03 +02:00
Kim Kulling
b3af5c5a14
closes https://github.com/assimp/assimp/issues/3253 : remove useless code
2020-06-17 20:37:39 +02:00
Kim Kulling
4cd7e48f19
Merge pull request #3284 from assimp/kimkulling-patch-6
...
Update issue templates
2020-06-17 09:04:24 +02:00
Kim Kulling
bb613df543
Update issue templates
...
To make our life easier
2020-06-16 16:31:47 +02:00
Kim Kulling
f776cc8008
Merge pull request #3248 from assimp/issue_3165
...
closes https://github.com/assimp/assimp/issues/3165 : fix gcc build.
2020-06-15 21:44:22 +02:00
kimkulling
524e2e4728
fix warning, hopefully ...
2020-06-15 21:34:49 +02:00
kimkulling
f0f6612b81
disable warning for radjson.
2020-06-15 20:52:11 +02:00
Kim Kulling
31b8d4710f
Merge branch 'master' into issue_3165
2020-06-15 20:32:00 +02:00
Kim Kulling
e6d5af6d76
Merge pull request #3267 from thomasbiang/gltf2_targetNames_export
...
Gltf2 Export Target Names for Blendshapes
2020-06-14 09:57:10 +02:00
Kim Kulling
15f11aec93
Merge branch 'master' into gltf2_targetNames_export
2020-06-14 09:43:09 +02:00
Kim Kulling
094b808880
Merge pull request #3279 from assimp/migenius-migenius-fix-texcoord
...
add a unittest.
2020-06-12 15:04:51 +02:00
kimkulling
f938a6b744
fix leak: just ignore broken texture coordinates.
2020-06-12 14:52:02 +02:00
kimkulling
1e0c5f26b4
Merge branch 'migenius-migenius-fix-texcoord' of https://github.com/assimp/assimp into migenius-migenius-fix-texcoord
2020-06-12 12:30:11 +02:00
kimkulling
ad62e6e863
fix unittest check - cannot work, just crash shall not occurr any more.
2020-06-12 12:29:51 +02:00
Kim Kulling
5f13ce49a7
Merge branch 'master' into migenius-migenius-fix-texcoord
2020-06-12 11:44:39 +02:00
kimkulling
1b0b4d8d1a
add a unittest.
2020-06-12 11:43:31 +02:00
Kim Kulling
e4e97684c6
Merge pull request #3268 from thomasbiang/fbx_blendshape_channelName
...
Fbx Import: support channel name in blendshape name
2020-06-12 11:12:35 +02:00
Kim Kulling
f67c71d5c7
Merge branch 'master' into fbx_blendshape_channelName
2020-06-12 10:55:32 +02:00
Kim Kulling
a75ca1fa40
Merge pull request #3277 from assimp/migenius-migenius-fix-texcoord
...
Migenius migenius fix texcoord
2020-06-12 10:13:01 +02:00
kimkulling
99d82328a4
Merge branch 'master' into migenius-migenius-fix-texcoord
2020-06-12 09:02:40 +02:00
ywang
e65434bf82
extra callback
2020-06-11 17:37:06 -07:00
ywang
f57e7221c0
temp
2020-06-10 13:23:29 -07:00
Kim Kulling
2aa6ca89bc
Merge pull request #3271 from DavidBerger98/pyassimp-contextmanager
...
Pyassimp - contextmanager for load function
2020-06-10 10:05:03 +02:00
Yingying Wang
578a7ac502
add Callback API in ExporterProperties
2020-06-09 11:20:48 -07:00
Kim Kulling
ffaa634c48
Merge branch 'master' into issue_3165
2020-06-09 10:48:27 +02:00
Kim Kulling
2a8daed68f
Remove dead code.
2020-06-09 10:16:05 +02:00