Commit Graph

2395 Commits (eef960c6b20b7817e701a4b142c85f10ec7aa448)

Author SHA1 Message Date
Wil Shipley eef960c6b2 - iOS target 9.0 2015-06-14 18:09:03 -07:00
Wil Shipley b581ae9c3d - Opened in latest Xcode. 2015-06-12 16:12:36 -07:00
Wil Shipley 91ca983d5f - Workaround for Collada exporter in SketchUp 15.3.331 (possibly others) where it'll export the wrong "count" when exporting "lines".
- When I encounter this condition I just print a warning and use the actual number of points in the file instead of the number they give, as opposed to throwing an exception and bailing on the whole file.
	- For an example of this kind of file see https://3dwarehouse.sketchup.com/warehouse/getpubliccontent?contentId=e4587719-2609-49ed-a2f6-20b98d1215f3&fn=Kartell-GE.zip
	- Some people have complained about this on http://forums.sketchup.com/t/bug-in-lines-exported-at-collada-format/8145
2015-05-17 18:36:17 -07:00
Wil Shipley d1f36bf947 - Removed '/Users/wjs' from a path (that snuck in). 2015-05-12 16:10:09 -07:00
Wil Shipley 9e95fda002 - Turn off "-Wshorten-64-to-32" so we don't have TEN MILLION warnings when compiling with assimp.
- Sure, it'd be better if this code were clean, but these warnings
ONLY appear when we build for the simulator, NOT for iOS or OS X for
real, so f' em.
2015-05-08 17:50:31 -07:00
Wil Shipley 39c6622697 - Added a generic renderToImage() function to SCNRenderer, so we can share with StackOverflow / Goossens. 2015-05-05 15:42:01 -07:00
Wil Shipley 5164b1bd24 Turned off several warnings so code doesn't explode with them.
Someone who speaks C++ should maybe go back through and see if these
warning are really relevant!
2015-03-26 13:47:53 -07:00
Wil Shipley e37b306234 - Build as static library FOR REAL, not dylib. 2015-03-14 15:59:48 -07:00
wilshipley 868f8081e7 Merge pull request #1 from assimp/master
I'm trying to merge in changes from the main project.
2015-03-13 18:52:55 -07:00
Wil Shipley 1b06d55975 - Needed quotes around path in case of spaces in it. 2015-03-13 18:47:31 -07:00
Wil Shipley 5438b75c60 - committing the workspace data inside the project file, too, who knows if this is correct 2015-03-13 18:47:10 -07:00
ulf ad9d178f0a - Bugfix: IfcLoader lost nodes and geometry when they were stored in subnodes of IfcSpace and the setting "Filter IfcSpace" was enabled 2015-03-13 15:13:53 +01:00
Wil Shipley ca463fca9a - Rearranged groups, link against C++ lib explicitly. 2015-03-13 00:37:02 -07:00
Wil Shipley 73174b7081 Hard-coded project to build static library for iOS / OS X
- This may not appeal to everyone, but I wanted a simple static library
Project I could include in a Xcode Workspace that would auto-build when
I built an iOS or OS X app.
- If you drag this project file into your Workspace and then add the
libassimp.x.x.a file as a dependency in your project inspector, it
should auto-build in the architecture of your choice.
2015-03-12 20:23:21 -07:00
Alexander Gessler e516a21bd9 Merge pull request #490 from wilshipley/master
Added 'const' to () operator on CompareVector
2015-03-12 07:57:59 +01:00
Wil Shipley 90a07713c0 Added 'const' to () operator on CompareVector
So it can build on clang.
2015-03-11 16:55:21 -07:00
Alexander Gessler 163bbc25c7 Merge pull request #486 from DenisMikhalev/issue-2
Adds safety and prevents crashes for damaged files
2015-03-10 16:09:07 +01:00
DenisMikhalev 615041ba15 Add license file for ant-half.ply 2015-03-10 15:00:49 +03:00
DenisMikhalev fa8cdb241d Move ply file to models-nonbsd dir 2015-03-10 09:18:23 +03:00
Alexander Gessler 3c56e978f7 Merge pull request #484 from turol/master
Fix read past end of buffer after call to TokenMatch
2015-03-10 00:29:25 +01:00
DenisMikhalev 80bfe7929e Adds half of file for testing crash PlyLoader 2015-03-09 19:51:04 +03:00
DenisMikhalev 62676b56aa Adds safety and prevents crashes for damaged files 2015-03-09 19:40:13 +03:00
Turo Lamminen ba4689fd05 Whitespace 2015-03-09 12:33:13 +02:00
Turo Lamminen c342778f42 Fix read past end of buffer after call to TokenMatch
IsSpaceOrNewLine returns true on end of input (NUL character). But if
TokenMatch considers a token at end of input to match it sets "in" to
one past end of buffer. This will lead to reading past the end of
buffer on any subsequent operation.
2015-03-09 12:33:13 +02:00
Alexander Gessler 7d3d66936b Merge pull request #483 from DenisMikhalev/issue-482
Use material names, set default direction to UP_Y, process extra tag
2015-03-08 22:15:39 +01:00
DenisMikhalev c410512173 Use material names, set default direction to UP_Y, process extra tag 2015-03-08 22:37:48 +03:00
Kim Kulling 727888ea10 Merge pull request #480 from turol/subdiv-memory
Free edges map before recursive calls to reduce memory consumption
2015-03-08 10:32:26 +01:00
Kim Kulling d4c0529514 Merge pull request #481 from abma/master
addition to c4997f16db (#476)
2015-03-08 10:30:07 +01:00
abma 873ae5db3f addition to c4997f16db
(thanks turol)
2015-03-08 03:26:25 +01:00
Turo Lamminen c89274d366 Free edges map before recursive calls to reduce memory consumption 2015-03-08 00:16:48 +02:00
ulf 76c69205b1 - reintroduced IFC openings to floors and ceilings. Were disabled for some unknown reasons, I hope I didn't break anything. Everything I tested works fine. 2015-03-06 14:14:45 +01:00
ulf 03a7f36858 Merge branch 'master' of https://github.com/assimp/assimp 2015-03-05 20:18:00 +01:00
ulf a2c9904d59 - Bugfix: polygon-bounded half space clipping now assumes plane in correct coordinate space
- Bugfix: closing polygon loop along boundary polygon now correctly projects boundary vertices to polygon plane
2015-03-05 20:17:26 +01:00
ulf 0cdc528e01 - Bugfix: IFC loader tested squared length against non-squared epsilon in RemoveDegenerates() 2015-03-03 15:56:09 +01:00
Kim Kulling 1e4e105bae Merge pull request #476 from abma/master
remove "register" keyword:
2015-03-03 09:26:25 +01:00
abma c4997f16db remove "register" keyword:
clang warns: 'register' storage class specifier is deprecated
http://stackoverflow.com/questions/10675072/is-the-register-keyword-still-used
2015-03-02 23:44:02 +01:00
Alexander Gessler b1e8c192db Merge pull request #464 from turol/master
Clean up some warnings
2015-02-28 14:41:26 +01:00
Alexander Gessler 579382ad91 Merge pull request #472 from assimp/fix471
Update IfcLoader to use numeric_limits<uint32_t> instead of UINT32_MAX, ...
2015-02-28 14:27:59 +01:00
Alexander Gessler f6f8462113 Update IfcLoader to use numeric_limits<uint32_t> instead of UINT32_MAX, fixes gcc build and is more consistent with the rest of the codebase. Fixes #471. 2015-02-28 13:40:10 +01:00
Turo Lamminen 5a74e07f5f Mark some more functions with AI_WONT_RETURN 2015-02-27 23:09:12 +02:00
Turo Lamminen db6d8a4dc5 Use attribute noreturn on both GCC and Clang
Both GCC and Clang define __GNUC__ and both also understand
attribute noreturn.
2015-02-27 23:09:12 +02:00
Turo Lamminen dfd171be6d Remove unnecessary semicolons after FBXDocument property declarations 2015-02-27 23:09:12 +02:00
Turo Lamminen 308884f144 Remove unnecessary semicolons after function definition
Picked up by clang -Wextra-semi
2015-02-27 23:09:12 +02:00
Turo Lamminen e8bcad0840 Silence a warning and add an assertion
Another false positive uninitialized variable. Actually it's only false
if ToOutputVertexIndex does't return NULL which should only happen if
index is out of bounds. Add assertion to make sure of that.
2015-02-27 23:09:03 +02:00
ulf b71ded1ad0 - manually merged C4D importer code from acgessler branch
- manually merged IFC bugfixes and improvements from schrompf branch
2015-02-23 14:23:28 +01:00
Alexander Gessler 7c38a33225 Merge pull request #466 from mbp566/master
Fixed many doxygen errors
2015-02-18 12:15:33 +01:00
mbp566 7bab42f55f Fixed many doxygen errors 2015-02-18 17:02:30 +09:00
Turo Lamminen 570d02ff6e Silence more uninitialized variable warnings
These are false positives since aiMaterial::Get will have written to output
if it returns AI_SUCCESS but the compiler can't see that.
2015-02-13 13:15:26 +02:00
Turo Lamminen f708d0b122 Silence some uninitialized variable warnings
These are false positives but the compiler isn't smart enough to see that.
Also it might make more sense to use switch here.
2015-02-13 12:21:59 +02:00
Turo Lamminen 84a9514d4b Fix warning about possibly uninitialized variable
It might be better to move FindEmptyUVChannel call earlier
2015-02-13 12:14:39 +02:00