Commit Graph

5754 Commits (c8ae0bbb3d43384fde27c28c93343b0f885dc5e8)

Author SHA1 Message Date
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
Kim Kulling 10a6524300
Merge pull request #1545 from assimp/issue_213
closes https://github.com/assimp/assimp/issues/213: log an error inst…
2017-11-06 00:44:50 +01:00
Kim Kulling a77d9d7b21
Merge branch 'master' into issue_213 2017-11-05 23:07:08 +01:00
Kim Kulling e09349c734
Merge pull request #1544 from assimp/issue_1526
closes https://github.com/assimp/assimp/issues/1526: use correct incl…
2017-11-05 23:05:46 +01:00
Kim Kulling 4a4f3fddc7 closes https://github.com/assimp/assimp/issues/213: log an error instead of letting the fbx-importer crash. 2017-11-05 22:52:07 +01:00
Kim Kulling 6b04b20869 closes https://github.com/assimp/assimp/issues/1526: use correct include folder for assimp. 2017-11-05 22:41:41 +01:00
Kim Kulling b0e86d281b
Merge pull request #1543 from assimp/issue_1533
closes https://github.com/assimp/assimp/issues/1533:
2017-11-05 19:31:47 +01:00
Kim Kulling 5922200ec3
Merge branch 'master' into issue_1533 2017-11-05 18:53:43 +01:00
Kim Kulling 9835d28f72
Merge pull request #1542 from assimp/UnitTest_X3D
add unittest for x3d-importer.
2017-11-05 18:53:28 +01:00
Kim Kulling f43586305c closes https://github.com/assimp/assimp/issues/1533: put irrXML onto exclucde list for doxygen run. 2017-11-05 18:24:39 +01:00
Kim Kulling ab3cf3687c
Merge branch 'master' into UnitTest_X3D 2017-11-05 18:10:10 +01:00
Kim Kulling 770f531cc6 X3D-Importer: add missing file. 2017-11-05 17:46:25 +01:00
Kim Kulling 2929a27edc add unittest for x3d-importer. 2017-11-05 17:41:26 +01:00
Kim Kulling 1e9919ce81
Merge pull request #1541 from assimp/issue_1351
closes https://github.com/assimp/assimp/issues/1351: use correct name…
2017-11-05 17:18:11 +01:00
Kim Kulling 02b042d78e closes https://github.com/assimp/assimp/issues/1351: use correct name for obj-meshname export for groups. 2017-11-05 16:35:22 +01:00
Kim Kulling abca0a79f3
Merge pull request #1538 from assimp/aavenel-unittest_obj_importer
Aavenel unittest obj importer
2017-11-04 18:48:01 +01:00
Kim Kulling a33e115fd1 fix mem-lead: face will be not released in case of an error. 2017-11-04 18:26:30 +01:00
Kim Kulling c9ada44ab5 Fix memory leak in case of an error. 2017-11-04 17:05:23 +01:00
Kim Kulling 4879fe13ca Merge branch 'unittest_obj_importer' of https://github.com/aavenel/assimp 2017-11-04 16:58:35 +01:00
Kim Kulling c700c08fa5
Merge branch 'master' into master 2017-11-04 10:45:57 +01:00
Kim Kulling d5692ccf30
Merge pull request #1537 from assimp/Anatoscope-ObjExporter_nomtl
Anatoscope obj exporter nomtl
2017-11-04 10:34:29 +01:00
Kim Kulling b7bd006304
Merge branch 'master' into ObjExporter_nomtl 2017-11-04 09:32:50 +01:00
Kim Kulling eeee744e21
Merge pull request #1536 from assimp/Anatoscope-fix_trivial_warnings
Anatoscope fix trivial warnings
2017-11-04 09:31:43 +01:00
Kim Kulling 4dab6f9be3
Merge branch 'master' into Anatoscope-fix_trivial_warnings 2017-11-04 08:49:27 +01:00
Kim Kulling 4910af3814
Merge pull request #1535 from assimp/kimkulling-patch-1
Update .travis.yml
2017-11-04 08:49:02 +01:00
Kim Kulling 9a721d0ef4
Update .travis.yml
Remove unused branch rule for travis.
2017-11-04 08:24:36 +01:00
Kim Kulling 4587e63e2f
Merge branch 'master' into fix_trivial_warnings 2017-11-03 20:05:16 +01:00
Kim Kulling 56674de1d8
Merge pull request #1534 from Matter-and-Form/texturefile-int-name-fix
[PLY] fix for TextureFile with number in file name
2017-11-03 19:10:01 +01:00