2083a7e274
Cleanup: style (pointers)
2018-10-11 09:03:39 +11:00
0ddf3e110e
Cleanup: comment blocks
2018-09-02 18:51:31 +10:00
fd19069999
Cleanup: remove last G.main's from Collada code.
2018-06-14 15:15:51 +02:00
be57cf9b2a
Cleanup: remove moar G.main from BKE area.
2018-06-12 12:53:27 +02:00
a25c11fd8d
Cleanup: trailing space
...
Remove from blender/nodes, collada, blenfont & render.
2018-06-08 08:07:48 +02:00
54f9cd5283
Cleanup: Nuke moar G.main usages...
2018-06-07 11:11:46 +02:00
0f2efce6c5
Cleanup: remove bad casts
2018-04-15 11:57:49 +02:00
c12d976020
Cleanup: ED_armature naming
...
- Wasn't clear which functions handle edit-bones.
- Mixed both ebone and edit_bone in names.
- Didn't use ED_armature_* prefix for public API.
See P655 to apply to branches.
2018-04-15 11:50:53 +02:00
a2cc85b264
Cleanup Collada: Avoid unintentional reuse of previous defined variable
...
The variable child was redeclared multiple times in the same function.
While this has not created any issues i still changed this to avoid
confusion and keep the usage of the variables more local.
2018-03-11 20:59:49 +01:00
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
092d673689
Added new option for storing bindpose matrix, see T50412
2017-03-23 14:14:22 +01:00
339d0170d1
collada: Simplify reading Node Matrix
2017-03-23 14:14:22 +01:00
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
33e32c341a
collada: add extern 'C' for c header includes
2017-03-23 14:14:22 +01:00
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
1978ac65c4
collada: use local variable to avoid repeated call of bone chain_length_calculator
2017-03-23 14:14:22 +01:00
89631485cc
collada: use vector copy function instead of direct assigning
2017-03-23 14:14:22 +01:00
4877c9362a
Collada simplify: avoid duplicate negation in boolean
2017-03-14 19:31:25 +01:00
d464a7c441
fix T50118: Added missing assignment of Bone Roll
2016-11-26 18:48:50 +01:00
36d0ea3123
Collada: Trying to get rid of some warning messages on linux
2016-09-24 01:47:55 +02:00
7a259d8422
Collada: Trying to get rif of some warning messages on linux
2016-09-24 01:27:37 +02:00
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
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