Kim Kulling [Wed, 16 Nov 2016 15:19:43 +0000 (16:19 +0100)]
iEnable coverall for tests.
Kim Kulling [Wed, 16 Nov 2016 15:11:30 +0000 (16:11 +0100)]
Still working on config.
Kim Kulling [Wed, 16 Nov 2016 14:54:53 +0000 (15:54 +0100)]
Fix travis cmake call to enable coberalls.
Kim Kulling [Wed, 16 Nov 2016 14:42:08 +0000 (15:42 +0100)]
Test coverage only in one comp from build matrix.
Kim Kulling [Wed, 16 Nov 2016 11:24:55 +0000 (12:24 +0100)]
Enable coveralls measurement
Kim Kulling [Wed, 16 Nov 2016 11:06:21 +0000 (12:06 +0100)]
Enableing test coverage for unittests.
Kim Kulling [Wed, 16 Nov 2016 10:39:44 +0000 (11:39 +0100)]
Travis: enable coverall support.
Kim Kulling [Mon, 14 Nov 2016 19:34:52 +0000 (20:34 +0100)]
Merge branch 'master' of https://github.com/assimp/assimp
Kim Kulling [Mon, 14 Nov 2016 19:20:03 +0000 (20:20 +0100)]
CmakeLists: remove ugly and deprecated hack fo mingw.
Kim Kulling [Mon, 14 Nov 2016 19:17:28 +0000 (20:17 +0100)]
Merge pull request #1064 from snowzurfer/master
Fix obj .mtl file loading
Kim Kulling [Mon, 14 Nov 2016 18:02:52 +0000 (19:02 +0100)]
Merge pull request #1066 from jaredmulconry/master
MSVC14 x64 /bigobj missing causes compile error
Jared Mulconry [Mon, 14 Nov 2016 11:52:29 +0000 (22:52 +1100)]
Fixed a compile error on MSVC14 x64 caused by the /bigobj flag failing to be set
for the 1 and 2-suffixed versions introduced in
commit
0a25b076b8968b7ea2aa96d7d1b4381be2d72ce6.
Alberto Taiuti [Sat, 12 Nov 2016 02:10:51 +0000 (02:10 +0000)]
Revert "Make assimp build cherry-picked importers in CMake"
This reverts commit
70d5bb8c7b8e0767892326398f3bdec0e2f0c27b.
Alberto Taiuti [Sat, 12 Nov 2016 01:29:46 +0000 (01:29 +0000)]
Make assimp build cherry-picked importers in CMake
Modify assimp's cmake to exclude the build of all the importers
by default; the user has then to manually select the ones needed
by setting the relative option.
From the explanation as written in the CMakeLists itself:
---
This option allows to select whether to build all the importers and then
manually select which ones not to build (old behaviour), or if to
exclude all importers from build and manually select the ones to actually
build.
By default, exclude all importers and manually select which ones to use.
To have all importers excluded, simply do not set this option in the parent
CmakeLists. Then, set the option for the importer(s) needed in the parent
CMakeLists, e.g.:
OPTION(ASSIMP_BUILD_OBJ_IMPORTER "" TRUE)
To have assimp build all the importers, set the option to true, then manually
exclude which importers you don't need, e.g.:
OPTION(ASSIMP_BUILD_OBJ_IMPORTER "" FALSE)
NOTE: In order to use this method of exclusion, the tools build must be disabled;
their code references certain importers/exporters which would be excluded.
If you need the tools, either manually add the importers/exporters the code
references (you will see linkage errors), or just enable the build of all the
importers as explained above.
---
As mentioned there, set the main CMakeLists not to build the tools and
the tests by default, since they use certain exporters and importers
which, with this method, are not necessarily used/built.
Kim Kulling [Fri, 11 Nov 2016 11:49:05 +0000 (12:49 +0100)]
BatchImporter: make validation configurable and add unittest for class.
Kim Kulling [Fri, 11 Nov 2016 11:49:05 +0000 (12:49 +0100)]
BatchImporter: make validation configurable and add unittest for class.
Alberto Taiuti [Thu, 10 Nov 2016 23:12:36 +0000 (23:12 +0000)]
Fix obj .mtl file loading
Fix the obj file loader by adding a new method which allows
a name to be read considering the space in the middle between two
words and use that for parsing the "mtlib" line in the .obj file
parsing method.
Before, the method used in the obj parsing function would have
returned the string "mtlib NAME_OF_MTL" instead of "mtlib" only,
which resulted in the .mtl file being never parsed.
Kim Kulling [Thu, 10 Nov 2016 20:40:05 +0000 (21:40 +0100)]
Merge branch 'master' of https://github.com/assimp/assimp
Kim Kulling [Thu, 10 Nov 2016 20:39:32 +0000 (21:39 +0100)]
ObjParser: remove deprecated code.
Kim Kulling [Thu, 10 Nov 2016 15:26:57 +0000 (16:26 +0100)]
Merge branch 'master' of https://github.com/assimp/assimp
Kim Kulling [Thu, 10 Nov 2016 15:26:17 +0000 (16:26 +0100)]
Remove some whitespaces.
Kim Kulling [Thu, 10 Nov 2016 12:47:19 +0000 (13:47 +0100)]
Merge pull request #1062 from byteblob/patch-1
added void to aiGetErrorString's args
Kim Kulling [Thu, 10 Nov 2016 09:33:07 +0000 (10:33 +0100)]
Make travis build faster.
byteblob [Wed, 9 Nov 2016 21:43:01 +0000 (22:43 +0100)]
added void to aiGetErrorString's args
Kim Kulling [Wed, 9 Nov 2016 19:52:22 +0000 (20:52 +0100)]
Merge pull request #1061 from assimp/optimized_faces_in_obj
ObjImporter: remove unnecessary allocations of std::vector
Kim Kulling [Wed, 9 Nov 2016 19:18:26 +0000 (20:18 +0100)]
Fix build
Kim Kulling [Wed, 9 Nov 2016 19:16:45 +0000 (20:16 +0100)]
Fix review findings.
Kim Kulling [Wed, 9 Nov 2016 19:09:45 +0000 (20:09 +0100)]
ObjImporter: remove unnecessary allocations of std::vector in obj-specific
face.
Kim Kulling [Tue, 8 Nov 2016 20:31:47 +0000 (21:31 +0100)]
Merge pull request #1060 from assimp/issue_1059
Issue 1059
Kim Kulling [Tue, 8 Nov 2016 19:35:21 +0000 (20:35 +0100)]
ObjParser: remove dead code.
Kim Kulling [Tue, 8 Nov 2016 19:34:55 +0000 (20:34 +0100)]
Obj-Parser: Fix performance issue.
Kim Kulling [Tue, 8 Nov 2016 13:53:52 +0000 (14:53 +0100)]
QtViewer: some refactorings.
Kim Kulling [Tue, 8 Nov 2016 09:38:57 +0000 (10:38 +0100)]
Code reformatting.
Kim Kulling [Mon, 7 Nov 2016 16:20:27 +0000 (17:20 +0100)]
Merge branch 'master' of https://github.com/assimp/assimp
Kim Kulling [Mon, 7 Nov 2016 16:19:49 +0000 (17:19 +0100)]
Fix BlenderDNA for clang cross compiler.
Kim Kulling [Sun, 6 Nov 2016 19:39:33 +0000 (20:39 +0100)]
Fix build:
Kim Kulling [Sun, 6 Nov 2016 18:36:37 +0000 (19:36 +0100)]
closes https://github.com/assimp/assimp/issues/105://github.com/assimp/assimp/issues/1057
Kim Kulling [Sat, 5 Nov 2016 17:41:52 +0000 (18:41 +0100)]
Merge branch 'master' of https://github.com/assimp/assimp
Kim Kulling [Sat, 5 Nov 2016 17:41:19 +0000 (18:41 +0100)]
ScenePreprocessor: fix invalid index counter.
Kim Kulling [Fri, 4 Nov 2016 17:51:55 +0000 (18:51 +0100)]
Merge pull request #1056 from AndrzejKozik/patch-1
Keys interpolation fix
AndrzejKozik [Fri, 4 Nov 2016 08:20:04 +0000 (09:20 +0100)]
Update FBXConverter.cpp
AndrzejKozik [Fri, 4 Nov 2016 07:48:14 +0000 (08:48 +0100)]
Keys interpolation fix
In line 3073 there was an unproper scope of cast to double.
Kim Kulling [Thu, 3 Nov 2016 22:29:03 +0000 (23:29 +0100)]
MaterialSystem: fix some findings.
Kim Kulling [Thu, 3 Nov 2016 18:11:56 +0000 (19:11 +0100)]
Merge pull request #1055 from assimp/issue_957
Fix compiler warnings related to issue 957.
Kim Kulling [Thu, 3 Nov 2016 17:37:02 +0000 (18:37 +0100)]
Fix compiler warnings related to issue 957.
Kim Kulling [Thu, 3 Nov 2016 11:35:56 +0000 (12:35 +0100)]
Merge pull request #1054 from mgerhardy/patch-2
Fixes compile issue for 3ds exporter
Kim Kulling [Wed, 2 Nov 2016 19:12:59 +0000 (20:12 +0100)]
Merge pull request #1053 from rdb/patch-2
Fix compile error with MSVC 2015
Martin Gerhardy [Wed, 2 Nov 2016 18:54:53 +0000 (19:54 +0100)]
Fixes compile issue for 3ds exporter
... when you have disabled the 3ds importer
rdb [Wed, 2 Nov 2016 17:42:16 +0000 (18:42 +0100)]
Fix compile error with MSVC 2015
This patch fixes compilation with MSVC 2015. WIN32 is not a preprocessor symbol that is defined by MSVC, but _WIN32 is.
Kim Kulling [Mon, 31 Oct 2016 08:42:45 +0000 (09:42 +0100)]
Merge pull request #1048 from tomacd/keep_materials_names
Keep original materials names in RemoveRedundantMaterials, ColladaExporter
Kim Kulling [Sun, 30 Oct 2016 18:21:38 +0000 (19:21 +0100)]
Blender: fix compiler warning: FAIL already defined.
Kim Kulling [Sun, 30 Oct 2016 11:30:52 +0000 (12:30 +0100)]
Merge pull request #1043 from assimp/new_obj_stream_handling
New obj stream handling
Kim Kulling [Sun, 30 Oct 2016 10:16:31 +0000 (11:16 +0100)]
Fix rounding issue in unittest for block calculation.
Kim Kulling [Sun, 30 Oct 2016 08:06:45 +0000 (09:06 +0100)]
Fix build.
Kim Kulling [Sun, 30 Oct 2016 07:55:11 +0000 (08:55 +0100)]
Fix unittest.
Kim Kulling [Sat, 29 Oct 2016 19:41:24 +0000 (21:41 +0200)]
Obj-Stream-Handling: fix compiler-errors and warnings.
Kim Kulling [Sat, 29 Oct 2016 18:07:53 +0000 (20:07 +0200)]
Merge branch 'new_obj_stream_handling' of https://github.com/assimp/assimp into new_obj_stream_handling
Kim Kulling [Sat, 29 Oct 2016 17:11:00 +0000 (19:11 +0200)]
Add missing license info.
Kim Kulling [Sat, 29 Oct 2016 17:07:30 +0000 (19:07 +0200)]
Obj: Fix some small issues
tomacd [Thu, 27 Oct 2016 17:23:43 +0000 (19:23 +0200)]
Keep original materials names after RemoveRedundant materials process and export to collada
Kim Kulling [Sat, 22 Oct 2016 21:34:56 +0000 (23:34 +0200)]
New streaming interface: fix build.
Kim Kulling [Sat, 22 Oct 2016 20:15:00 +0000 (22:15 +0200)]
Merge branch 'master' of https://github.com/assimp/assimp
Kim Kulling [Sat, 22 Oct 2016 20:14:01 +0000 (22:14 +0200)]
QtViewer: fix review findings.
Kim Kulling [Sat, 22 Oct 2016 19:04:02 +0000 (21:04 +0200)]
Merge branch 'master' into new_obj_stream_handling
Kim Kulling [Sat, 22 Oct 2016 19:03:11 +0000 (21:03 +0200)]
BUgfixes regarding filepos setupBUgfixes regarding filepos setup.
Kim Kulling [Fri, 21 Oct 2016 19:14:35 +0000 (21:14 +0200)]
Obj-Stream-Handling: fix readin of linewise import.
Kim Kulling [Fri, 21 Oct 2016 17:44:31 +0000 (19:44 +0200)]
Remove redundant file.
Kim Kulling [Fri, 21 Oct 2016 17:43:56 +0000 (19:43 +0200)]
Merge branch 'master' of https://github.com/assimp/assimp
Kim Kulling [Fri, 21 Oct 2016 10:50:41 +0000 (12:50 +0200)]
Qt5-based Viewer: fix build.
Kim Kulling [Thu, 20 Oct 2016 20:25:39 +0000 (22:25 +0200)]
Q3BSP-Loader: reformat include.
Kim Kulling [Thu, 20 Oct 2016 15:04:37 +0000 (17:04 +0200)]
Q3BSP: fix license dates.
Kim Kulling [Thu, 20 Oct 2016 14:43:38 +0000 (16:43 +0200)]
Merge branch 'master' of https://github.com/assimp/assimp
Kim Kulling [Thu, 20 Oct 2016 14:42:00 +0000 (16:42 +0200)]
Q3BSP-Importer: remove commented code.
Kim Kulling [Thu, 20 Oct 2016 14:18:30 +0000 (16:18 +0200)]
Merge pull request #903 from dontbmh/upstream
fix strncpy not null terminated string
Kim Kulling [Wed, 19 Oct 2016 14:03:53 +0000 (16:03 +0200)]
Merge pull request #1042 from VeganPower/Fix_988
Added support for 64 bit version header introduced in FbxSdk2016
Kim Kulling [Tue, 18 Oct 2016 19:16:44 +0000 (21:16 +0200)]
3MF: fix nullptr access.
Kim Kulling [Tue, 18 Oct 2016 15:09:06 +0000 (17:09 +0200)]
Merge pull request #1040 from johnmaf/bugfix/obj-mtllib-parse
Fix OBJ parser mtllib statement parsing bug.
John Senneker [Tue, 18 Oct 2016 14:48:47 +0000 (10:48 -0400)]
Check for std::string::npos before applying std::string::substr
Kim Kulling [Tue, 18 Oct 2016 12:02:58 +0000 (14:02 +0200)]
Some more fixes.
John Senneker [Mon, 17 Oct 2016 22:48:04 +0000 (18:48 -0400)]
Fix OBJ parser mtllib statement parsing bug.
Since `getName` returns the whole line (including spaces) parse out the
first word for comparison.
Kim Kulling [Mon, 17 Oct 2016 19:45:50 +0000 (21:45 +0200)]
Merge pull request #1034 from ascandal/feature/gltf-compact-skins
glTF compact skins
Kim Kulling [Mon, 17 Oct 2016 15:29:38 +0000 (17:29 +0200)]
Merge pull request #1037 from ystreet/cfileio-leaks
cfileio: fix leaks by not closing files in the destructor
Kim Kulling [Mon, 17 Oct 2016 15:28:04 +0000 (17:28 +0200)]
Merge pull request #1038 from ystreet/cfileio-defs
cfileio: fix function typedefs to have struct/enum
Kim Kulling [Mon, 17 Oct 2016 15:26:32 +0000 (17:26 +0200)]
Merge pull request #1032 from ashdnazg/master
use cmath and C++ (std::) versions of math functions
Matthew Waters [Mon, 17 Oct 2016 13:28:14 +0000 (00:28 +1100)]
cfileio: fix leaks by not closing files in the destructor
Numerous importers rely on the default C++ IOSystem implementation
having the destructor close the file for them. The C IOSystem wrapper
wasn't and instead assumed that the Close() method was going to be
called.
This brings the C IOSystem wrapper in line with the default C++ IOSystem
by having the destructor close the file.
Matthew Waters [Mon, 17 Oct 2016 13:20:28 +0000 (00:20 +1100)]
cfileio: fix function typedefs to have struct/enum
Otherwise building with cfileio.h would result in:
/usr/include/assimp/cfileio.h:61:58: error: unknown type name ‘aiOrigin’
typedef aiReturn (*aiFileSeek)(C_STRUCT aiFile*, size_t, aiOrigin);
^~~~~~~~
/usr/include/assimp/cfileio.h:64:9: error: unknown type name ‘aiFile’
typedef aiFile* (*aiFileOpenProc) (C_STRUCT aiFileIO*, const char*, const char*);
^~~~~~
/usr/include/assimp/cfileio.h:122:5: error: unknown type name ‘aiFileSeek’
aiFileSeek SeekProc;
^~~~~~~~~~
Kim Kulling [Sun, 16 Oct 2016 15:14:22 +0000 (17:14 +0200)]
3MF-Importer: remove unused variable.
Angelo Scandaliato [Sun, 16 Oct 2016 01:12:02 +0000 (18:12 -0700)]
merge upstream/master and fix conflicts
Angelo Scandaliato [Sun, 16 Oct 2016 00:21:55 +0000 (17:21 -0700)]
check if bones exist before creating skin
Kim Kulling [Sat, 15 Oct 2016 19:45:58 +0000 (21:45 +0200)]
C++11-combat: hopefully the last std::to_string to replace.
Kim Kulling [Sat, 15 Oct 2016 19:45:09 +0000 (21:45 +0200)]
OpenGEXImporter: fix compiler warning.
Kim Kulling [Sat, 15 Oct 2016 19:30:02 +0000 (21:30 +0200)]
C++11-Combat: last replacements of std::to_string.
Kim Kulling [Sat, 15 Oct 2016 19:25:16 +0000 (21:25 +0200)]
C++11-combat: replace more std::to_string by assimp-specific to_string
Kim Kulling [Sat, 15 Oct 2016 18:36:51 +0000 (20:36 +0200)]
C++11: Replace std::to_string by assimp-specific implementation.
Eshed [Sat, 15 Oct 2016 09:05:57 +0000 (12:05 +0300)]
replace more math.h functions occurences with std::
Kim Kulling [Sat, 15 Oct 2016 05:51:19 +0000 (07:51 +0200)]
Merge pull request #1033 from ashdnazg/fix_mingw
Fix mingw build (mingw supports stat64 nowadays)
Eshed [Sat, 15 Oct 2016 00:52:50 +0000 (03:52 +0300)]
fix mingw build (mingw supports stat64 nowadays)
Eshed [Sat, 15 Oct 2016 00:29:45 +0000 (03:29 +0300)]
use cmath and C++ (std::) versions of functions
Angelo Scandaliato [Fri, 14 Oct 2016 22:47:21 +0000 (15:47 -0700)]
find the correct index in jointNames
Rosario Leonardi [Fri, 14 Oct 2016 16:47:10 +0000 (17:47 +0100)]
Added support for 64 bit version header introduced in FbxSdk2016