add BLI_strcpy_rlen, replace strcat, which was used in misleading way.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57495 954f8c5b-7b00-dc11-b283-0030488c597c
replace strcat with BLI_strcpy_rlen in draw_selected_name(), view3d function.
also fix for incorrect flag checking for shape key pin.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57496 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#35741] Material shows WORLD texture_context by default.

Now also check previous button context, when switching. This way, if the previous one was a texture one, and become valid after the last switch (e.g. a material added to a new object), relevant texture context can still be set.

Note this commit also partially fixes [#35769] The “show texture in texture tab” button in a modifier does not show up until the user manually shows the texture in the Texture tab (full fix of this one will probably implies to always have a valid ButsContextTexture [sbuts->texuser]...).

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

Adding only the .svg file, the PNG can make once the multiview branch is merged.
I wanted to commit this to avoid having conflicts in the .svg file if
someone works on new icons too.

The new icon is at X-23

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57498 954f8c5b-7b00-dc11-b283-0030488c597c
Complete fix for [#35769] The “show texture in texture tab” button in a modifier does not show up until the user manually shows the texture in the Texture tab (and better fix for [#35741] Material shows WORLD texture_context by default).

Simply recompute texture context on every redraw, like already done for sbuts->texuser (also called texture context :/ ).

Also allows simplification, buttons_check_texture_context can be merged back into set_texture_context...

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57500 954f8c5b-7b00-dc11-b283-0030488c597c
use layout engine for vertex weights panel.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57501 954f8c5b-7b00-dc11-b283-0030488c597c
rename world_to_camera -> world_to_camera_view


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57502 954f8c5b-7b00-dc11-b283-0030488c597c
Vertex weights: Added delete weight from vertex group

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57503 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35774 Confusing Text in Texture Paint Panel

A simple copy-paste error.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57504 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for the DensityF0D function not working as expected when the Z pass was not available.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57505 954f8c5b-7b00-dc11-b283-0030488c597c
Improved layout of Vertex Weights panel, added option to change active vgroup

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57506 954f8c5b-7b00-dc11-b283-0030488c597c
Attempt to fix #35548:

Use nearest edge instead of nearest vertex for UV island selection, or
you may get a far away UV island that happens to have a vertex nearby.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57508 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for building Blender with OSL, and no OpenEXR headers in standard paths (like /usr/include/OpenEXR).

As OSL headers mix #include <OpenEXR/foo.h> and #include <foo.h>, we need both /path/to/openexr/include and /path/to/openexr/include/OpenEXR include paths... :/

Issue investigated by doug65536 on IRC, thanks.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57509 954f8c5b-7b00-dc11-b283-0030488c597c
Since upgrade to SCons 2.3.0 a small change is needed to ensure 32bit is targeted properly when
building 32bit Blender with 64bit compiler installed as well (MSVC).

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

(No news is good news).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57511 954f8c5b-7b00-dc11-b283-0030488c597c
patch [#35765] Improve performance during select object in viewport. Up to 3x speedup.
from Alex Babahin (tamerlan311)

replace goto's with static functions.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57512 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: Fixing the python profiling information so that bge.logic.getProfileInfo() returns information even if Show Framerate and Profile is not enabled.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57513 954f8c5b-7b00-dc11-b283-0030488c597c
Usual UI messages style edits...

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57515 954f8c5b-7b00-dc11-b283-0030488c597c
Remove static variables from mball module

Moved all the static variables into a PROCESS
structure which is now passing all over to where
static variables used to be used.

There's still one static variable which is
cubetable, but it's being initialized once
and then used read-only. Maybe we'll need
to move cubetable initialization to blender
startup, but that could wait a bit for now.

For users it means BI rendered viewport
wouldn't crash when using metaballs.

--
svn merge -r57515:57516 ^/branches/soc-2013-depsgraph_mt



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57517 954f8c5b-7b00-dc11-b283-0030488c597c
reduce sqrt's calls in set_prop_dist().


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