minor cleanup and calculate rake angle before jittering or result
becomes essentially, random


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55320 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: quiet some -Wshadow warnings, mix of obvious mistakes and harmless global/local naming conflict.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55321 954f8c5b-7b00-dc11-b283-0030488c597c
correct lasso, weightpaint select, was calling BLI_lasso_boundbox() twice.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55322 954f8c5b-7b00-dc11-b283-0030488c597c
changes to BLI_buffer
- assert if BLI_buffer_at() is called with an out of bounds value.
- add BLI_buffer_resize_data() macro which resizes and returns a pointer to the new array.
- warn if missing call to BLI_buffer_free().


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55323 954f8c5b-7b00-dc11-b283-0030488c597c
fix for own mistake in using alloca in a loop, replace with BLI_buffer


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55324 954f8c5b-7b00-dc11-b283-0030488c597c
object converting curve/mball to a mesh would give invalid selection state (edges selected but nothing else).
add arg to BKE_mesh_calc_edges() so selecting newly created edges is optional.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55325 954f8c5b-7b00-dc11-b283-0030488c597c
NLA Editor: Show the ID+AnimData block that the AnimData panel is showing the
active action for


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55326 954f8c5b-7b00-dc11-b283-0030488c597c
Assorted small fixes
* Incorrect comment (copy+paste error) in nla_edit
* Whitespace in rna_gpencil
* The icon for AnimData is now attached to its RNA definition


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55327 954f8c5b-7b00-dc11-b283-0030488c597c
Any ID Selector Template: ID Type dropdown now shows icon only as originally
intended

Finally, I've figured out a way to get the ID Selector Template to only show the
icon for the type of ID block (i.e. the intended design), instead of icon+text.
This improves the layout a bit, as previously the type selector and ID-block
pointer and label would all be the same sizes (roughly 1/3rd of the overall
width each), which meant that there wasn't much room left to actually see which
datablock had been selected.

Additionally, I've fixed a few more layout types which still didn't correctly
propagate the red-alert flags.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55328 954f8c5b-7b00-dc11-b283-0030488c597c
NLA "Add Track" can now be used to add tracks to previously empty AnimData
blocks, provided the blocks in question are in fact selected.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55329 954f8c5b-7b00-dc11-b283-0030488c597c
Assorted anim editor fixes
* Click-select operators don't have "register" flag anymore
* Graph Editor click select can be undone, just like everything else
* "Current frame" -> "Current Frame" for consistency with rest of menu


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55330 954f8c5b-7b00-dc11-b283-0030488c597c
Some more assorted fixes
* More duplicate/wrong comments (copy+paste errors)
* Brough Calculate/Clear Motion Path UI for bones more in line with the Object
version


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55331 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for [#34654] Cycles hair particle system modifier obeys viewport visibility as well
* Now Show Render and Show Viewport flags work independently and correct. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55332 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for last commit:
* Logic error inside the if branch. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55333 954f8c5b-7b00-dc11-b283-0030488c597c
fix for crash when using BM_face_calc_tessellation(), its not ensured that all tris will be filled in.
(effected knife project and laplacian smooth).


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


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55336 954f8c5b-7b00-dc11-b283-0030488c597c
own error in recent knife-project changes.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55337 954f8c5b-7b00-dc11-b283-0030488c597c
patch [#34634] Select vertices without a group
from Kevin Mackay (yakca)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55338 954f8c5b-7b00-dc11-b283-0030488c597c
don't create empty mesh object when separating if nothing is selected.


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