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
38410e6e25
changed use_connect from bool to a 3 state value (-1,0,1)
2016-06-03 18:31:51 +02:00
5366900ace
Added support for non numeric bone layer labels (could happen when importing from other tools)
...
Differential Revision: https://developer.blender.org/D2037
2016-05-29 00:37:46 +02:00
8e26111020
Collada: Adding support for bone roll and bone layers
...
Differential Revision: https://developer.blender.org/D2034
2016-05-28 19:22:06 +02:00
1346482d23
moved is_leaf_bone() to collada utils for reuse in exporter and importer
2016-05-26 18:22:36 +02:00
29aa13cfa2
fix: Import of meshes with holes is now reported as WARNING (unsupported)
...
improved: add support for bone tail export/import using Blender Collada profile
Differential Revision: https://developer.blender.org/D2031
2016-05-26 17:53:25 +02:00
1b8a4fd9bd
Fix T46444: Crash importing DAE w/ empty armature
2015-10-12 11:35:08 +11:00
fdc8b12726
Cleanup: whitespace, unused var
2015-08-06 13:03:07 +10:00
0525db39d1
fix T44648: Collada finding bone chains during import crashes when no bones are there
2015-05-10 11:04:37 +02:00
fca515838e
Cleanup: strcmp/strncmp -> STREQ/STREQLEN (in boolean usage).
...
Makes usage of those funcs much more clear, we even had mixed '!strcmp(foo, bar)'
and 'strcmp(foo, bar) == 0' in several places...
2015-01-26 16:59:24 +01:00
7a1dc20560
Cleanup: quite some harmless but noisy warnings from gcc...
2015-01-11 21:14:39 +01:00
e35b4bac0a
Collada Importer: Separated finding bone chains and fixing leaf bone orientations into 2 functions and added a separated import option
2014-12-01 20:31:59 +01:00
8d42c2f3ea
Improved Collada Armature Import
...
Collada does not support Bone length. It has only Joints.
This patch tries to improve the necessary "guesswork" for
importing Rigs.
Differential Revision: https://developer.blender.org/D920
2014-12-01 12:08:26 +01:00
d526ef607d
Cleanup: rename BKE_key_convert/update to BKE_keyblock_convert/update.
...
We are handling a keyblock here, not a whole key(set). Names are alreay a bit confusing,
let's be consistent at least.
2014-11-17 11:19:54 +01:00
617557b08e
Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define
2014-04-01 15:22:28 +11:00
482201d1a0
Style cleanup
2014-03-31 05:46:19 +11:00
3111f08ad9
Fix T38847: Reject reuse of child bones as root bones. That doesn't make sense anyways.
2014-02-27 15:23:32 +01:00
6e88e3eda4
Fix compile after last commit, casting to (bArmature *), kudos to JesterKing
2013-12-17 14:14:03 +01:00
f5076d54cb
'Transform' Python Function for armature, curve and lattice.
...
patch by Paolo Acampora with some edits.
2013-12-17 23:04:36 +11:00
beae4f498d
code cleanup: spelling
2013-10-31 14:10:01 +00:00
5c69338fe6
apply world matrix only to armature, Bones and children get it implicit via parenting
2013-07-30 11:10:04 +00:00
8140f56575
Collada: unit converter was not initialized for ArmatureImporter
2013-07-30 07:22:40 +00:00
91fc92794c
Import of single bones used infinite bone size
2013-07-26 22:19:46 +00:00
89f4445b44
Leaf bone length calculation used wrong bone tail
2013-07-17 21:06:27 +00:00
f2db6949c2
Fix : #36184 Collada import/export... leaf bone size was not set as needed.
2013-07-17 20:22:08 +00:00
e353593b30
fix : #36060 Collada Import: animated armature+mesh problem
2013-07-14 17:21:12 +00:00
4507dd9a7e
Removed unused paramter from ArmatureImporter:add_joint()
2013-07-14 16:24:42 +00:00
ec8d277c64
BLI_math rename functions:
...
- mult_m4_m4m4 -> mul_m4_m4m4
- mult_m3_m3m4 -> mul_m3_m3m4
these temporary names were used to avoid problems when argument order was switched.
2013-05-26 18:36:25 +00:00
64d161de87
style cleanup:
...
also rename mesh_getVertexCos() --> BKE_mesh_vertexCos_get() to match curve function.
2013-03-26 07:29:01 +00:00
655ed9cc7f
style cleanup
2013-03-18 11:44:56 +00:00
0807c976f4
code cleanup: rename BKE_mesh_to_curve_ex --> BKE_mesh_to_curve_nurblist,
...
also correct odd indentation.
2013-03-15 10:48:48 +00:00
4f3ca854e1
Fix various warnings with clang build, and adjust cmake clang warnings flags
...
to include a few more that gcc is using too.
2013-02-26 21:58:06 +00:00
ee64cbaf39
fix #34284 Collada: update problem for vertex weights directly after import.
2013-02-17 18:33:10 +00:00
8996184ac4
Fixed importing of shapekey names: name is now taken from geometry name instead of deriving it from the mesh name
2013-02-12 17:52:18 +00:00
942ad6d9cd
style cleanup
2013-02-10 17:06:05 +00:00
69993c5d40
style cleanup: spaces -> tabs
2013-02-04 00:18:09 +00:00
6baf63c83b
Fix some warnings in the collade code, but did not fix two because they seem
...
to indicate bugs, left a comment about those.
2013-02-01 15:17:51 +00:00
c263753d17
Added gsoc-2012 collada improvements from bratwurst branch
2013-01-21 13:45:49 +00:00
7c699a217a
define the size of matrix args for both rows/cols.
2012-12-11 14:29:01 +00:00
74c9c24d27
style cleanyp
2012-06-23 23:22:19 +00:00
43864f9103
fix a nullpointer exception when data missing in dae file
2012-06-14 14:47:41 +00:00
2e8a2f7668
style cleanup
2012-06-12 22:05:33 +00:00
72f38b4f09
style cleanup: brace placement.
2012-05-22 06:29:46 +00:00
1dccd4c98a
code cleanup: naming - pose/armature/image
...
also use ..._find_name(..., name) rather then ..._find_named(..., name) --- both were used.
2012-05-05 16:03:57 +00:00
b075765edd
Fix #31258 : collada now selects newly added objects after import.
2012-05-03 21:32:49 +00:00
e701f9b670
style cleanup: whitespace / commas
2012-04-29 15:47:02 +00:00
b340f930ec
style cleanup: changes to brace placement / newlines - for/while/if/switch
2012-04-28 06:31:57 +00:00
07065b27b8
style cleanup
2012-03-28 05:03:24 +00:00
b8a71efeba
style cleanup: follow style guide for/with/if spacing
2012-03-24 07:52:14 +00:00
81d8f17843
style cleanup: pep8, indentation
2012-03-24 07:36:32 +00:00