Commit Graph

68 Commits

Author SHA1 Message Date
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
c2760307e8 #collada skeleton import, bugfix #29621
Do not crash when joint SIDs cannot be resolved.

OpenCOLLADA cannot resolve joint SIDs connected to skin if the <skeleton> tag is missing.

Page 148 of COLLADA spec 1.4.1 states: "<skeleton> elements define where to start the sid lookup". So I think this is a bug in "FBX COLLADA exporter" which did not add the <skeleton> tag.

The problem can be fixed by manually adding the <skeleton> tag into <instance_controller>.
2012-03-04 13:43:23 +00:00
3311164b24 Math lib: matrix multiplication order fix for two functions that were
inconsistent with similar functions & math notation:

mul_m4_m4m4(R, B, A) => mult_m4_m4m4(R, A, B)
mul_m3_m3m4(R, B, A) => mult_m3_m3m4(R, A, B)

For branch maintainers, it should be relatively simple to fix things manually,
it's also possible run this script after merging to do automatic replacement:
http://www.pasteall.org/27459/python
2011-12-16 19:53:12 +00:00
e84c0980a3 correct indentation and some whitespace edits (no functional changes) 2011-11-11 13:09:14 +00:00
699030ceb6 use const for readonly strings and set some functions to static 2011-10-27 14:41:26 +00:00
4a04f72069 remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
357febc168 fix for building with collada and some other warnings 2011-09-10 09:38:38 +00:00
a6d9a5a972 Code cleanup: warning fixes. 2011-09-05 19:27:21 +00:00
Nathan Letwory
1764f2135d Some whitespace changes 2011-09-04 00:15:59 +00:00
Nathan Letwory
d0d82c69e9 COLLADA: Take parent bone length and direction instead of using bone pointing up with length 1. Looks much nicer and less confusing on larger armatures now. 2011-08-31 09:37:14 +00:00
6b99cd05aa Armature object animations export. 2011-08-21 15:47:21 +00:00
bcadb6b939 small fixes and refactoring. 2011-08-20 16:48:53 +00:00
2ee74be88c Blender tip profile for bones with 2 or more children. 2011-08-18 19:16:36 +00:00
a46f36c9b6 Animation export id bone animation + armature importer cleanup. 2011-08-17 20:15:40 +00:00
f04fb5b6ea Finalizing. 2011-08-16 16:03:37 +00:00