Gaia Clary
c9b95c28f6
fix: T51622 The exporter now exports meshes as <Triangles> when all contained polygons are tris
2017-06-25 14:51:51 +02:00
Gaia Clary
fcb8761966
fix: Collada fprintf needs std::string be converted to char *
2017-06-25 13:18:21 +02:00
Gaia Clary
1340c7bcdc
fix: collada: removed unnecessary extra qualification
2017-06-25 13:10:03 +02:00
Gaia Clary
bdacb60a92
Collada: Fix: Geometry exporter did not create all polylist when meshes are only partially textured
2017-06-24 23:33:34 +02:00
Gaia Clary
ddabe465b5
collada: export UV Textures as materials. Note: the reimport of the exported collada files will have materials assigned instead of UV Face Textures! This is expected behavior
2017-06-24 22:16:47 +02:00
Gaia Clary
a2a301bdb9
collada: change image export: export either UV Textures or Materials. This
...
avoids wrong texture data when multiple objects are exported. Note: This
commit might possiblyt not work fully. The full feature is added with the
next commit)
2017-06-24 22:16:47 +02:00
Gaia Clary
89060babbc
Collada: improved Error handling: Avoid shutdown of Blender when the Collada importer finds Syntax errors in import data
2017-06-24 22:16:47 +02:00
Gaia Clary
0d2b1da3a6
Collada: added new functions for improved material exporter (not used yet)
2017-06-24 22:16:47 +02:00
Bastien Montagne
7853ebc204
Fix collada importer doing own handling of usercount/freeing.
...
Better use generic `BKE_libblock_free_us()`.
2017-06-15 12:44:15 +02:00
Aaron Carlisle
9f044cb422
Remove MinGW support
...
The Issue
=======
For a long time now MinGW has been unsupported and unmaintained and at this point,
it looks like something that we should just leave behind and move on.
Why Remove
==========
One of the big motivations for MinGW back in the day is that it was free compared to MSVC which was licensed based.
However, now that this is no longer true we have basically stopped updating the need CMake files.
Along with the CMake files, there are several patches to the extern libs needed to make this work. For example, see:
https://developer.blender.org/diffusion/B/browse/master/extern/carve/patches/mingw_w64.patch
If we wanted to keep MinGW then we would need to make more custom patches to the external libs and
this is not something our platform maintainers are willing to do.
For example, here is the patches needed to build python: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-python3
Fixes T51301
Differential Revision: https://developer.blender.org/D2648
2017-05-27 15:34:55 -04:00
Gaia Clary
368b74315a
Collada - add flag to limit precision of exported data, mainly to simplify debugging
2017-04-03 10:48:00 +02:00
Gaia Clary
f65d6ea954
fix: collada - do proper conversion from int to bool (as with other nearby parameters)
2017-04-03 10:45:24 +02:00
Gaia Clary
3bf0026bec
fix: T50412 - collada: Replaced precision local limit function by blender's own implementation
2017-04-01 15:29:50 +02:00
Gaia Clary
2c78b0c71f
Collada - Export: now use bind_mat and rest_mat custom properties (when the use_bind_info option is enabled and the properties exist)
2017-03-23 14:14:23 +01:00
Gaia Clary
b48ba0909a
Collada - Import: now add bind_mat and rest_mat as custom properties (when the use_bind_info option is enabled)
2017-03-23 14:14:23 +01:00
Gaia Clary
476f5c473a
Collada - remove no longer used functions (moved to collada_utils)
2017-03-23 14:14:23 +01:00
Gaia Clary
51d4743033
Collada - Added support for custom bind matrix (using new bind_mat custom property)
2017-03-23 14:14:22 +01:00
Gaia Clary
6cfa962986
Collada - removed TransformBase baseclass (not needed for anything)
2017-03-23 14:14:22 +01:00
Gaia Clary
7c094f6079
Collada - Added some helper functions into collada_utils, for common usage in the collada module
2017-03-23 14:14:22 +01:00
Gaia Clary
092d673689
Added new option for storing bindpose matrix, see T50412
2017-03-23 14:14:22 +01:00
Gaia Clary
339d0170d1
collada: Simplify reading Node Matrix
2017-03-23 14:14:22 +01:00
Gaia Clary
1729dd9998
collada: Make sure that bone use_conncet is set to false when connect type is not defined in Import
2017-03-23 14:14:22 +01:00
Gaia Clary
33e32c341a
collada: add extern 'C' for c header includes
2017-03-23 14:14:22 +01:00
Gaia Clary
ec3989441f
fix: collada - Connected bones get their tails set to wrong location when fix leaf nodes option is enabled
2017-03-23 14:14:22 +01:00
Gaia Clary
1978ac65c4
collada: use local variable to avoid repeated call of bone chain_length_calculator
2017-03-23 14:14:22 +01:00
Gaia Clary
89631485cc
collada: use vector copy function instead of direct assigning
2017-03-23 14:14:22 +01:00
Gaia Clary
647fb6ef1e
fix D2552: Collada - Follow up change to complete the fix in rBda6cd7762810 (use unique id for bones with same name in different armatures)
2017-03-14 19:31:25 +01:00
Gaia Clary
4877c9362a
Collada simplify: avoid duplicate negation in boolean
2017-03-14 19:31:25 +01:00
Jon Allee
da6cd77628
fix D2552: Collada - use unique id for bones with same name but in different armatures. Co-authored-by: Gaia <gaia.clary@machiniamtrix.org>
2017-03-14 14:35:51 +01:00
Brecht Van Lommel
9992e6a169
Fix a few compiler warnings with macOS / clang.
2017-02-18 23:59:34 +01:00
Gaia Clary
ba116c8e9c
fix D2489: Collada exporter broke edit data when exporting Armature while in Armature edit mode
2017-01-28 22:10:20 +01:00
Gaia Clary
c64c901535
fix D2489: Collada exporter broke edit data when exporting Armature while in Armature edit mode
2017-01-28 21:51:18 +01:00
Bastien Montagne
b997988323
Cleanup/refactor: Add new BLI_string_util.
...
Things like `BLI_uniquename` had nothing, but really nothing to do in
BLI_path_util files!
Also, got rid of length limitation in `BLI_uniquename_cb`, we can use
alloca here to avoid overhead of malloc while keeping free size (within
reasonable limits of course).
2017-01-16 20:36:23 +01:00
Gaia Clary
d464a7c441
fix T50118: Added missing assignment of Bone Roll
2016-11-26 18:48:50 +01:00
Campbell Barton
e1e49fd1a8
Math Lib: rotate matrix cleanup
...
- Remove 'rotate_m2', unlike 'rotate_m4' it created a new matrix
duplicating 'angle_to_mat2' - now used instead.
(better avoid matching functions having different behavior).
- Add 'axis_angle_to_mat4_single',
convenience wrapper for 'axis_angle_to_mat3_single'.
- Replace 'unit_m4(), rotate_m4()' with a single call to 'axis_angle_to_mat4_single'.
2016-11-25 16:39:34 +11:00
Gaia Clary
447fc7c4ce
fix T50004: Removed check for empty mesh and adjusted the vertex import function to accept meshes without vertices as well
2016-11-12 22:20:07 +01:00
Gaia Clary
dac5438562
COLLADA: Removed obsolete Export select option 'Both' which created invalid data (duplicate transformation information for nodes)
2016-11-02 14:11:46 +01:00
Gaia Clary
36d0ea3123
Collada: Trying to get rid of some warning messages on linux
2016-09-24 01:47:55 +02:00
Gaia Clary
7a259d8422
Collada: Trying to get rif of some warning messages on linux
2016-09-24 01:27:37 +02:00
Gaia Clary
4b891b40c2
Fix: Collada Importer did not import the Blender Profile information correctly when multiple objects are bound to same armature. This caused Bone tails to be placed wrong.
2016-09-24 01:06:32 +02:00
Gaia Clary
2382d1c401
regression fix for 1346482d23: The length of leaf bones should always be set to the length of the smallest bone. since the mentioned commit the importer did only recalculate the leaf bone length when the 'fix leaf bones' option was also enabled.
2016-09-20 17:33:17 +02:00
Bastien Montagne
64a6a86d57
Fix two memleaks found by coverity.
2016-08-16 16:16:22 +02:00
Campbell Barton
c885cea7bb
Cleanup: spelling
2016-07-16 17:48:57 +10:00
Sandy Carter
b679767656
fix T48857: Improved the handling of Material Alpha, based on patch D1949 with some small modifications
2016-07-15 16:14:53 +02:00
Gaia Clary
27641b51e7
Collada: changed specification of material alpha from using transparency to using transparent with opaque=A_ONE
2016-07-15 16:14:51 +02:00
Gaia Clary
558f85473e
fix T48857: Added support for transparency (used Patch D1949 from bwrsandman with some slight changes)
2016-07-14 21:43:26 +02:00
Campbell Barton
8343518272
Cleanup: comment blocks
2016-07-15 02:39:45 +10:00
Bastien Montagne
87b974caa1
Cleanup/Refactor: pass Main pointer to all ID copy functions.
...
Also allows us to get rid of a few _copy_ex() versions...
2016-07-10 14:52:00 +02:00
Campbell Barton
aef72125da
Correction for MSVC
2016-07-02 20:22:07 +10:00
Campbell Barton
9f5621bb4a
Cleanup: comment blocks
2016-07-02 10:08:33 +10:00