Commit Graph

6232 Commits (992194b1b9f9a75242a2ba10a9dd8442ac0ca269)

Author SHA1 Message Date
Turo Lamminen 4c9f169109 ASE: Add assertion to silence a static analyzer warning 2017-11-15 11:45:21 +02:00
Turo Lamminen 856d402b59 AMFImporter: Add assertion to silence a static analyzer warning 2017-11-15 11:45:21 +02:00
Turo Lamminen 2c7770eed5 AMFImporter: Add a block 2017-11-15 11:45:21 +02:00
Turo Lamminen bd0d47c5fc Whitespace 2017-11-15 11:45:21 +02:00
Turo Lamminen a7fccf8f33 OptimizeGraph: Fix possible null pointer dereference 2017-11-15 11:45:21 +02:00
Turo Lamminen c51b92cfa3 RemoveRedundantMaterials: Add assertion to silence a static analyzer warning 2017-11-15 11:45:21 +02:00
Turo Lamminen 95f2319b41 ImproveCacheLocality: Add assertion to silence a static analyzer warning 2017-11-15 11:45:21 +02:00
Turo Lamminen c774e864a0 Remove some dead assignments 2017-11-15 11:45:21 +02:00
Turo Lamminen 266e3b29a8 RemoveRedundantMaterials: Set pointer to nullptr after deleting it 2017-11-15 11:45:21 +02:00
Turo Lamminen 35907e3446 Travis: Disable unit tests in scan-build config 2017-11-15 11:45:21 +02:00
Turo Lamminen 59d1a1d819 Travis: Move slower builds earlier to improve parallelization 2017-11-15 11:45:21 +02:00
Turo Lamminen 76919e87ea fast_atof: Silence some uninitialized variable warnings 2017-11-15 11:45:21 +02:00
Turo Lamminen a15bfceb7e Travis: Add static analysis to build 2017-11-15 11:45:20 +02:00
Kim Kulling 80ba6d10f7
Merge pull request #1567 from assimp/fix_android_build
CMake: use define for D_FILE_OFFSET_BITS only for not-android systems.
2017-11-14 21:41:40 +01:00
Kim Kulling c15c96ac76 CMake: use define for D_FILE_OFFSET_BITS only for not-android systems. 2017-11-14 20:11:40 +01:00
Kim Kulling 98a1b7671d
Merge pull request #1558 from assimp/issue_216
closes https://github.com/assimp/assimp/issues/216: check the area of…
2017-11-12 22:42:56 +01:00
Kim Kulling 24b728b3ea FindDegeneratives: adapt unittests and add configs 2017-11-12 22:09:18 +01:00
Kim Kulling 9206d1b62b Merge branch 'master' into issue_216 2017-11-12 11:04:51 +01:00
Kim Kulling b2b671d8ad
Merge pull request #1563 from assimp/fix_buggy_excape_sequence
fix buggy escape sequence.
2017-11-12 11:04:04 +01:00
Kim Kulling d0ac06cbfd fix buggy escape sequence. 2017-11-11 21:16:26 +01:00
Kim Kulling 9756b48bca
Merge pull request #1560 from assimp/source_groups_for_ut
unittests: add VS-based source groups for the unittests.
2017-11-10 21:26:32 +01:00
Kim Kulling 005b537324 unittests: add VS-based source groups for the unittests. 2017-11-10 20:40:00 +01:00
Kim Kulling 248e26ca03
Merge pull request #1557 from Matter-and-Form/gltf2-mesh-export-fix
Fix export of deleted meshes; Add LazyDict::Remove method
2017-11-10 19:37:23 +01:00
Kim Kulling de1ec4ee5d
Merge branch 'master' into gltf2-mesh-export-fix 2017-11-10 19:07:46 +01:00
Kim Kulling f0bed87e07
Merge pull request #1559 from luzpaz/misc-typos
Misc. typos
2017-11-10 10:39:09 +01:00
Unknown 12dbbd4ce9 Misc. typos
Some are doxy comments, some are just trivial source comment typos. 
Found using `codespell -q 3 --skip="./contrib" -I ../assimp-whitelist.txt`
whereby whitelist contained:
```
childs
iff
lod
nto
ot
whitespaces
```
2017-11-09 17:19:26 -05:00
Kim Kulling ad2ff9fd71 check for area test if the face is a triangle. 2017-11-09 21:40:10 +01:00
Kim Kulling 30e06f7437 closes https://github.com/assimp/assimp/issues/216: check the area of a triangle to check if its degenerated or not. 2017-11-09 21:31:16 +01:00
Daniel Hritzkiv 9ec117d0bc
Fix export of deleted meshes; Add LazyDict::Remove method
When I was merging a node’s multiple meshes into that node’s first mesh’s primitives, I was deleting the merged meshes from the node.

However, I wasn’t deleting the merged meshes from the mAsset->meshes Dict, causing the gltf2 export to contain extra unreferenced meshes and duplicate primitives.

This new code adds a new method to LazyDict, which removes the object from it, taking care to update indexes of the subsequent objects. This change also requires that `Ref`s of `Mesh`es (stored in node->meshes) have their indexes updated.
2017-11-08 18:31:32 -05:00
Kim Kulling 9a13bf236f
Merge pull request #1556 from assimp/issue_1292
closes https://github.com/assimp/assimp/issues/1292: export class sub…
2017-11-08 23:52:50 +01:00
Kim Kulling 5bc4e73727
Merge branch 'master' into issue_1292 2017-11-08 22:52:46 +01:00
Kim Kulling bd104bda3b
Merge pull request #1555 from assimp/issue_1315
closes https://github.com/assimp/assimp/issues/1315: check in exporti…
2017-11-08 22:52:32 +01:00
Kim Kulling ab639a71ae
Merge branch 'master' into issue_1315 2017-11-08 21:09:02 +01:00
Kim Kulling 36475bf868 closes https://github.com/assimp/assimp/issues/1292: export class subdivision 2017-11-08 20:50:16 +01:00
Kim Kulling cdfd4b9702 closes https://github.com/assimp/assimp/issues/1315: check in exporting against out-of-bounds-access . 2017-11-08 20:44:53 +01:00
Kim Kulling 191454671d
Merge pull request #1511 from eevictor/master
[Collada] export <library_animations> tag
2017-11-08 19:07:28 +01:00
Kim Kulling 6954c7d75b
Merge branch 'master' into master 2017-11-08 18:34:25 +01:00
Kim Kulling fe55bc9996
Update ColladaExporter.cpp
fix build
2017-11-08 18:34:16 +01:00
Kim Kulling c11a93e73c
Merge pull request #1552 from assimp/issue_1251
closes https://github.com/assimp/assimp/issues/1251: use correct look…
2017-11-08 09:13:27 +01:00
Kim Kulling 6b826fecfd
Merge branch 'master' into issue_1251 2017-11-08 01:07:35 +01:00
Kim Kulling f41ed2f41f closes https://github.com/assimp/assimp/issues/1251: use correct lookup for utf32. 2017-11-08 01:07:04 +01:00
Kim Kulling 792523ce90
Merge pull request #1551 from larsjsol/md2_fix
Fix MD2 frames containing garbage
2017-11-08 00:27:48 +01:00
Kim Kulling 29cf414468
Merge branch 'master' into md2_fix 2017-11-07 22:03:02 +01:00
Kim Kulling a88a23ac7c
Merge pull request #1549 from assimp/issue_104
Issue 104
2017-11-07 13:10:44 +01:00
Kim Kulling 75fdd25b6b
Merge branch 'master' into issue_104 2017-11-07 11:27:06 +01:00
Kim Kulling da7ce89ff2
Update STLLoader.cpp
add missing const.
2017-11-07 10:47:27 +01:00
Kim Kulling b87e7643d2
Update STLLoader.cpp
Fix memory-alignment bug.
2017-11-07 10:42:51 +01:00
Kim Kulling 4ff2592747
Update STLLoader.h
Fixed a typo.
2017-11-07 00:31:09 +01:00
Kim Kulling 26171a7949 SLD: add test model and a unit test. 2017-11-06 22:37:52 +01:00
Kim Kulling 9a9f18bbed closes https://github.com/assimp/assimp/issues/104: deal with more solids in one STL file. 2017-11-06 22:30:07 +01:00