math: Use len_v3() instead of normalize_v3() for area calculation

We only need the length, avoids unnecessary calculations.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55098 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/gcc-4.6: workaround a compilerbug, use apple-gcc instead

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55101 954f8c5b-7b00-dc11-b283-0030488c597c
Bugfixes: [#34394] and [#31843] Visual Keying not working for bones

Big thanks to Josef Meier (jomeier) for finding the fix!

It turns out that this was a case of variable shadowing that had been overlooked
and compilers were not warning about.




git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55103 954f8c5b-7b00-dc11-b283-0030488c597c
Improving warnings when keyframing fails for IKEY over a button

Now, instead of silently failing, an error message saying that the property
cannot be animated is displayed


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55104 954f8c5b-7b00-dc11-b283-0030488c597c
[#34541] Sketching bones created bones with 0 radius for envelope

This commit is just a stopgap measure (i.e. it fixes the symptoms but not the
real underlying cause) of this bug. For some reason, iter->size is nearly always
an "effectively zero but not truly zero" value. Hence, the envelope sizes would
get adjusted, but would be scaled to an impossibly small value (taken from
iter->size).

From my investigations so far, iter->size is mostly either set to (or left as)
0, except in a rare case when dealing with volume snapping, when the values
somehow get propagated there from various intermediate data points. But, that
almost never works either.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55105 954f8c5b-7b00-dc11-b283-0030488c597c
fix null pointer dereference in BM_edge_is_contiguous() (own code).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55106 954f8c5b-7b00-dc11-b283-0030488c597c
Bugfix [#34560] Wrong angle for text in Horizontal mode of Properties space

Rotation angle for text was still in degrees not radians


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55107 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55108 954f8c5b-7b00-dc11-b283-0030488c597c
fix for typo in skin modifier that resulted in incorrect vertex weights.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55109 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: 0 --> NULL


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55110 954f8c5b-7b00-dc11-b283-0030488c597c
[#28352]3dsmax preset, patch by Nik Prodanov, this provides both an interaction preset and a keymap preset for those migrating from 3dsmax

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55111 954f8c5b-7b00-dc11-b283-0030488c597c
Adding include for NULL define in c++



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55112 954f8c5b-7b00-dc11-b283-0030488c597c
Applying similar optimisations as r.55092 for Animation Data


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55113 954f8c5b-7b00-dc11-b283-0030488c597c
Feature request:

Blender's anim player (blender -a) now allows drop of image or movie file.
It then restarts itself completely (close window, open new).



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55114 954f8c5b-7b00-dc11-b283-0030488c597c
avoid floating point exceptions in snapObjects(), was attempting to scale up FLT_MAX.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55115 954f8c5b-7b00-dc11-b283-0030488c597c
add ruler snapping vert/edge/face (Holding Ctrl)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55116 954f8c5b-7b00-dc11-b283-0030488c597c
Fix to BLF_pgettext, which was returning "" when passed NULL msgid... Never noticed any problem, but it looks it could produce strange UI issues (like deactivated buttons), and it was not consistent anyway!

Thanks to S. Lockal for spotting the issue and providing a patch.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55117 954f8c5b-7b00-dc11-b283-0030488c597c
add delete key for removing active ruler.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55118 954f8c5b-7b00-dc11-b283-0030488c597c