Commit Graph

7158 Commits (d048bccad1ea3f72906da2d970b30f187db91f33)

Author SHA1 Message Date
Jack Andersen d048bccad1 Export static libaries as CMake package
When built with BUILD_SHARED_LIBS disabled, the exported CMake
targets are modified to reference the static library location.

This also fixes version detection for VS2017 and beyond within
the target import script.
2019-05-24 22:06:50 -10:00
Kim Kulling f0a0de63e9
Merge pull request #2475 from ruxkor/master
Revert e45d12: Refers erroneously to ctype instead of ctypes
2019-05-22 19:03:36 +02:00
Kim Kulling 1d05f1b222
Merge branch 'master' into master 2019-05-22 00:14:18 +02:00
Kim Kulling 9787ac724f
Merge pull request #2468 from muxanickms/topic/fbx_file_more_than_4gb
Support for FBX file sizes more than 4GB
2019-05-22 00:13:33 +02:00
Kim Kulling 52d4564b7e
Merge branch 'master' into topic/fbx_file_more_than_4gb 2019-05-21 20:12:57 +02:00
Kim Kulling 0e8444b83f
Merge pull request #2466 from muxanickms/topic/fragmented_embedded_textures
Fragmented FBX ASCII emdedded resource
2019-05-21 20:12:31 +02:00
Andor Goetzendorff b10dc5747b Revert "Remove experimental change unintentionally included in commit f001dfc8"
This reverts commit e45d120f21.
2019-05-20 15:35:19 +02:00
Kim Kulling 627cb93b0b
Merge branch 'master' into topic/fragmented_embedded_textures 2019-05-19 20:16:49 +02:00
Kim Kulling b4eb974d9e
Merge pull request #2464 from muxanickms/topic/exception_spam_fix_fbxmaterial
Exception spam fix for FBXMaterial
2019-05-19 19:50:43 +02:00
Kim Kulling 2f4cb93764
Merge branch 'master' into topic/exception_spam_fix_fbxmaterial 2019-05-17 19:43:54 +02:00
Kim Kulling 9740c043c6
Merge pull request #2463 from muxanickms/topic/degenerate_area_fix
Degenerate triangles with small area removing fix
2019-05-16 23:30:07 +02:00
Kim Kulling 4b10c7e432
Merge branch 'master' into topic/degenerate_area_fix 2019-05-16 21:44:46 +02:00
Kim Kulling d29e245536
Merge pull request #2462 from assimp/kimkulling-2449
Update CMakeLists.txt
2019-05-16 21:44:30 +02:00
Kim Kulling 81f8ebf2d4
Merge branch 'master' into kimkulling-2449 2019-05-16 17:04:09 +02:00
Kim Kulling 2ba3d956d1
Merge pull request #2458 from jackoalan/pdb-install-fix
Set directory and name properties for installing static lib PDB
2019-05-16 17:03:36 +02:00
Kim Kulling 7cd021e704
Merge branch 'master' into pdb-install-fix 2019-05-16 14:49:29 +02:00
Kim Kulling 6fda615706
Merge pull request #2434 from mvorbrodt/master
Generate attenuation constants if non are provided in the Blender file…
2019-05-16 14:48:21 +02:00
Mike Samsonov 6c13ec8190 fix for clang runtime checks for overflow 2019-05-16 11:59:23 +01:00
Mike Samsonov c84ac7a135 Fragmented FBX ASCII emdedded resource 2019-05-16 11:59:23 +01:00
Mike Samsonov c58ed8da22 Support for FBX file sizes more than 4GB 2019-05-16 11:58:26 +01:00
Mike Samsonov 4e03a2c00d Exception spam fix for FBXMaterial 2019-05-16 11:58:07 +01:00
Mike Samsonov 5bca43be74 Degenerate triangles with small area removing fix 2019-05-16 11:57:46 +01:00
Kim Kulling 77281b75b2
Merge branch 'master' into master 2019-05-16 11:13:48 +02:00
Kim Kulling 524d8c281e
Merge pull request #2460 from jackoalan/windows-external-zlib-fix
Fix Windows build with external zlib
2019-05-14 23:59:07 +02:00
Kim Kulling 785ceaf58a
Merge branch 'master' into windows-external-zlib-fix 2019-05-14 22:07:56 +02:00
Kim Kulling add086b9e8
Merge pull request #2427 from RichardTea/assimpview_unicode
Some MSVC/Windows corrections and updates, issue 2302
2019-05-14 18:59:58 +02:00
Kim Kulling 747a7c963b
Merge branch 'master' into assimpview_unicode 2019-05-13 23:49:06 +02:00
Kim Kulling 5bee5307e4
Merge pull request #2461 from assimp/issue_2459
closes https://github.com/assimp/assimp/issues/2459: fix duplicated f…
2019-05-13 23:48:42 +02:00
Kim Kulling 815730c92d
Update CMakeLists.txt
closes https://github.com/assimp/assimp/issues/2449: fix uwp handling
2019-05-13 21:49:50 +02:00
Kim Kulling adbdbf2be6 closes https://github.com/assimp/assimp/issues/2459: fix duplicated fbx-type propertry. 2019-05-13 21:41:37 +02:00
Jack Andersen 461e21f66d Fix Windows build with external zlib
assimp.rc contains an include with a double-parent header search.
In a default build configuration, this is resolved via the
configuration header path generated for in-tree zlib.

When external zlib is used, this header search path is not provided
to the RC compiler, therefore fails to find revision.h.

This is solved by simply including "revision.h" since the root of
the binary directory is already used as a search path.
2019-05-12 10:56:59 -10:00
Jack Andersen cb0c47764a Set directory and name properties for installing static lib PDB 2019-05-11 12:11:52 -10:00
Kim Kulling c48adf2301
Merge pull request #2455 from assimp/issue_2335
closes https://github.com/assimp/assimp/issues/2335: add cmake-module…
2019-05-11 20:43:02 +02:00
Kim Kulling fd0e0d05e6 Inno: fix ArchitecturesInstallIn64BitMode for x86 platforms. 2019-05-11 13:02:07 +02:00
Kim Kulling 0898484d45 Inno: fix folder names + versions. 2019-05-11 11:02:28 +02:00
Kim Kulling 6aecfd0183 closes https://github.com/assimp/assimp/issues/2334: run vc_redist in passive + quiet mode. 2019-05-11 09:39:23 +02:00
Kim Kulling 64ff361610 closes https://github.com/assimp/assimp/issues/2335: add cmake-modules to the installer. 2019-05-11 09:19:43 +02:00
Kim Kulling 4f7de109a1
Merge branch 'master' into assimpview_unicode 2019-05-10 18:52:32 +02:00
Kim Kulling 2582ae53ee
Merge pull request #2450 from mlavik1/fbxexport_crashfix
Fix for crash in StreamWriter::PutString when exporting ASCII FBX
2019-05-10 18:51:57 +02:00
Kim Kulling 741be6f9db
Merge branch 'master' into fbxexport_crashfix 2019-05-10 15:32:18 +02:00
Kim Kulling f81b90a469
Merge pull request #2451 from mlavik1/fbxexporter_embedded_textures
FBXExporter: Embedded texture support
2019-05-10 15:30:57 +02:00
Kim Kulling 700954c115
Update FBXExporter.cpp
Just fixed some typos.
2019-05-10 09:09:47 +02:00
Matias a443544986 Replaced binary literals with hex literals (since binary literals was introduced in C++14) 2019-05-09 15:28:00 +02:00
Matias 9903504c42 Removed some code that I didn't mean to fix (I already submitted this in another PR: https://github.com/assimp/assimp/pull/2450). 2019-05-09 14:57:18 +02:00
Matias 575ef4d927 Added support for embedded textures to the FBXExporter (both binary and ASCII). Also made the FBX-namespaces more consistent (we had both Assimp::FBX:: and FBX::). Since we seem to support two types of embedded texture references (both asterisk+texture_id and filepath) I made the exporter use aiScene::GetEmbeddedTexture for looking up texture reference and integrated @loebl 's modification of the function to support the old ("*1") type of references (https://github.com/loebl/assimp/commit/e217358) 2019-05-09 14:50:22 +02:00
Matias 6736f3d24b Don't call PutString with an empty string. Both DumpChildrenAscii and EndAscii can return without modifyting the string, so we need to check the string before calling PutString. This used to cause a crash. 2019-05-09 11:19:05 +02:00
Kim Kulling 9430696048
Merge pull request #2433 from hshakula/gltf2-import-animation-name
Fix inconsistency between animation and node name in glTF2 Importer
2019-05-08 08:41:41 +02:00
Kim Kulling 56b82e9cd5
Merge branch 'master' into gltf2-import-animation-name 2019-05-07 21:43:29 +02:00
Kim Kulling 880e5ee32c
Merge pull request #2448 from assimp/fbx_convert_to_unit
Fbx convert to unit
2019-05-07 21:43:08 +02:00
Kim Kulling e1a0861556 Merge branch 'fbx_convert_to_unit' of https://github.com/assimp/assimp into fbx_convert_to_unit 2019-05-07 20:33:42 +02:00