Campbell Barton
d724d0adfe
code cleanup: quiet warnings for gcc's -Wundef, -Wmissing-declarations
2012-09-16 00:26:36 +00:00
Campbell Barton
d75a66674d
code cleanup: remove deprecated defines and some struct members
2012-09-06 00:33:59 +00:00
Campbell Barton
aaafa0c2fe
code cleanup: move file string defines into BLI_path_utils.h, BKE_utildefines is now unused but keep incase we want to add defines there later.
2012-09-03 22:04:14 +00:00
Brecht Van Lommel
fa6a8b8090
Fix #32389 : scons was compiling without iksolver and only itasc since a few days,
...
which gave performance issues.
2012-08-23 10:56:14 +00:00
Campbell Barton
47e313ec0c
cmake option to build without iksolver
2012-08-18 13:36:29 +00:00
Thomas Dinges
3151a9f145
Fix compile error, IK_STRETCH_STIFF_EPS was undefined.
2012-07-29 19:50:03 +00:00
Campbell Barton
f608b3c444
code cleanup:
...
- building without python works again
- rename maxi/mini to i_max/i_min (so thay are available for function names)
- some minor edits to IK stretch setting (no functional changes).
2012-07-29 17:49:14 +00:00
Campbell Barton
c41e1e434a
code cleanup: replace MIN2/MAX2 with minf/maxf
2012-07-29 16:59:51 +00:00
Campbell Barton
2cd0b3f064
defines to make it easier to manage ik stretch constants (these may need to be tweaked to fix [ #32174 ])
2012-07-27 23:16:33 +00:00
Campbell Barton
81829f5221
code cleanup: use const for passing vectors
2012-07-11 12:42:02 +00:00
Campbell Barton
cfb7aee017
style cleanup
2012-07-07 22:51:57 +00:00
Bastien Montagne
468ef74ed7
More spell and typo fixes (mostly visualise->visualize, grey->gray, normalise->normalize).
2012-07-03 19:09:07 +00:00
Campbell Barton
1597ad9377
style cleanup
2012-07-01 09:54:44 +00:00
Benoit Bolsee
2b889eea8d
Fix [ #31430 ] part 2: crash in iTaSC when end effector is a fixed bone. This situation was causing access to invalid index in the joint angle array although the end effector doesn't need any joint angle to compute its pause. Fixed this by changing the internal API of joint array: return pointer instead of reference so that NULL pointer can be returned instead of crashing when the index is invalid.
2012-06-07 08:16:41 +00:00
Benoit Bolsee
ef850d75f5
Fix unaligned array crash in Eigen3 because of compilation option. The EIGEN_DONT_ALIGN_STATICALLY compilation option was added for Win32 only in revision 41283 because of some compilation problem. But this option is causing alignment problem for Eigen3 local variables when SSE optimization is enabled. I do not have any compilation problem when the option is not defined, so I just remove it as it should.
2012-06-07 08:04:58 +00:00
Benoit Bolsee
e063ea222c
Fix bug [ #31588 ]: iTaSC does not handle armature scaling correctly. iTaSC solver operates in world reference, therefore armature scale is used to build the ik scene. But the scaling was not taken out when applying the pose at the end of the simulation.
2012-06-03 12:06:42 +00:00
Campbell Barton
57c292daf0
style cleanup
2012-05-25 09:51:53 +00:00
Brecht Van Lommel
29a1a05aa5
Fix #31430 : itasc solver assertion failure with debug builds.
2012-05-18 15:06:23 +00:00
Campbell Barton
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
Campbell Barton
e701f9b670
style cleanup: whitespace / commas
2012-04-29 15:47:02 +00:00
Campbell Barton
b340f930ec
style cleanup: changes to brace placement / newlines - for/while/if/switch
2012-04-28 06:31:57 +00:00
Bastien Montagne
3dcd5a196d
Fix [ #31008 ] IK armature resize goes ugly (Pose mode resize).
...
This affected legacy solver. Note that even if I don't expect any, this fix *may* break some other IK setups, so animators, please check your IK rigs using legacy solver. ;) Easy to revert if needed, anyway.
Note that iTaSC solver is also buggy with some scaled parent, but here IK'ed bones just can’t get scaled in any way (either from parent or from there own transformation)... Will try to find what's happenning, though the code is even harder than legacy solver to follow :/
2012-04-20 17:26:40 +00:00
Campbell Barton
07065b27b8
style cleanup
2012-03-28 05:03:24 +00:00
Campbell Barton
b8a71efeba
style cleanup: follow style guide for/with/if spacing
2012-03-24 07:52:14 +00:00
Campbell Barton
81d8f17843
style cleanup: pep8, indentation
2012-03-24 07:36:32 +00:00
Campbell Barton
5a90ea77bc
style cleanup: follow style guide for formatting of if/for/while loops, and else if's
2012-03-24 06:24:53 +00:00
Campbell Barton
89a963fb7f
style cleanup: comment blocks
2012-03-09 18:28:30 +00:00
Campbell Barton
7bbf4b7831
style cleanup
...
- spelling - turns out we had tessellation spelt wrong all over.
- use \directive for doxy (not @directive)
- remove BLI_sparsemap.h - was from bmesh merge IIRC but entire file commented and not used.
2012-03-02 16:05:54 +00:00
Campbell Barton
e6c5ff95be
patch [ #30331 ] Support clang-3.0
...
from Yasuhiro Fujii (y-fujii)
only small part of the patch for now.
2012-02-28 05:19:54 +00:00
Campbell Barton
47c373c7a9
style cleanup (mostly whitespace)
2012-02-27 10:35:39 +00:00
Campbell Barton
2b7ca2304a
unify include guard defines, __$FILENAME__
...
without the underscores these clogged up the namespace for autocompleation which was annoying.
2012-02-17 18:59:41 +00:00
Brecht Van Lommel
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
Brecht Van Lommel
b5a57b193d
Fix #29041 : parenting problem with tree IK for iTaSC and iksolver, where it
...
would use the wrong bone as parent on brancing. Patch by Juha Maki-Kanto.
2011-11-13 13:08:15 +00:00
Campbell Barton
094c9799f9
quiet -Wdouble-promotion warnings
2011-11-11 12:00:08 +00:00
Joshua Leung
2b6e4f2422
Bugfix [ #29064 ] armature with curve contraint - crash
...
Spline IK and Auto-IK working together on the same bone chain could
crash due to the somewhat hacky way that they were sharing the same
list for the "iktree" forest. Resolved by doing what I should have
done from the beginning, and made Spline-IK save its ik chains off
into a separate list.
While this fixes the crash, it might be worth investigating outright
disabling this from working in this case, since it can be a bit
confusing to have it appear to not work.
2011-11-07 13:25:17 +00:00
Campbell Barton
96d73bfdcf
replace VECCOPY with copy_v3_v3, same for 2d copy, also added vec copy functions for int & char.
2011-11-07 01:38:32 +00:00
Sergey Sharybin
fe6ad36060
Fix compilation error for win32.
...
That static align trick i've wrote about is still necessary.
2011-10-25 18:13:12 +00:00
Sergey Sharybin
3d903ee3ff
Libraries upgrade:
...
- Upgrade Eigen2 library to Eigen3
- Upgrade colamd library and placed in extern/ so other libraries from extern/ can use it
NOTE: With previous version of Eigen (3.0.1) it was necessary to define
EIGEN_DONT_ALIGN_STATICALLY macro to make it compilable on windows 32bit.
After latest upgrade it seems to be unnecessary (at least when was testing libmv),
so i removed that defines which can reduce speed and lead to other problems.
2011-10-25 12:37:42 +00:00
Campbell Barton
4a04f72069
remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23 17:52:20 +00:00
Campbell Barton
5792bd7cc7
cmake: cleanup include paths, some duplicates and going up some unneeded dirs.
2011-07-17 09:11:13 +00:00
Campbell Barton
09da9d4393
cmake maintenance
...
blender_add_lib now takes a separate include argument to suppress warnings in system includes (mostly ffmpeg & python).
also only build wm_apple.c on apple+carbon configuration.
2011-05-31 01:15:44 +00:00
Campbell Barton
b11f29c8ac
clear some c++ warnings.
2011-03-27 07:56:29 +00:00
Campbell Barton
709c727c51
replace 0 with NULL when used as a pointer
2011-03-03 17:58:06 +00:00
Nathan Letwory
13a540a41d
doxygen: blender/ikplugin tagged.
2011-02-27 20:24:49 +00:00
Nathan Letwory
5b607701a7
doxygen: prevent GPL license block from being parsed as doxygen comment.
2011-02-23 10:52:22 +00:00
Campbell Barton
89c617a116
remove nan-makefiles
2011-01-30 15:29:22 +00:00
Campbell Barton
89c9aaaa25
remove references to BKE_utildefines where its not needed.
...
- move GS() define into DNA_ID.h
- add BLI_utildefines as an automatic include with makesrna generated files.
2011-01-07 19:18:31 +00:00
Campbell Barton
8f21a43535
split BKE_utildefines.h, now it only has blender specific defines like GS() MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h.
...
no functional changes.
2011-01-07 18:36:47 +00:00
Campbell Barton
5e382eb8e5
rename blenderlib to blender_add_lib
2010-12-22 23:09:30 +00:00
Campbell Barton
afacd18498
use lowercase for cmake builtin names and macros, remove contents in else() and endif() which is no longer needed.
2010-12-08 08:43:06 +00:00