SVN maintenance.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51855 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: replace macro with inline function for dynamic paint.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51857 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: quiet -Wdouble-promotion, disabled this warnings for a few files since its done throughout the code in some places.


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


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

Nodes could use duplicated memory - and on free you get duplicate-free errors.
Affected texture nodes, but I suspect compositing too.

Fix found by Philipp Oeser. Thanks!



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51861 954f8c5b-7b00-dc11-b283-0030488c597c
Node reroute cut operator update.

Cutting mulitple links with for inserting reroute nodes would previously insert only one reroute node for the first cut link.

Now the operator will insert a reroute node for every link in the cut line. Also, if several links share the same input/output socket, it will insert only a single reroute node, which all affected links will then share.

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

In armature editmode, with mirroring, after duplication of a bone and using
the Wkey "flip names" you get a crash. Code for naming was accessing a NULL
in the bPose channel - not set until leaving editmode.

Thanks to Ben Batt for tackling the issue :)




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

"Set origin to cursor" tool failed for parented/rotated objects.
Matrix mashup.

Thanks to Ben Batt for the fix!



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

Windows systems: text editor, text object, doesn't allow to input the standard
set of ALT+key characters (the ones coming from the OS).

- Reverted fix january 2012 - that meant to use text object ALT+keys
- Removed old (90ies) feature for hardcoded special characters in Text object.
  (OS delivers this now)

Will wait for confirmation by windows compiler :)



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51866 954f8c5b-7b00-dc11-b283-0030488c597c
fix own error in r51819, was reading outside of the buffer, also comment unused vars.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51867 954f8c5b-7b00-dc11-b283-0030488c597c
Image Editor Operators:
* Tool tip improvements for two operators.

Patch [#33077] by Harley Acheson, thanks! 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51869 954f8c5b-7b00-dc11-b283-0030488c597c
Editors UI:
* Add "Toggle Full Screen" and "Duplicate Area into New Window" operators to the view menu, was missing in those 2 operators. Patch [#33076] by Harley Acheson, thanks.

* Also moved those two operators to the top in text editor, for consistency. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51870 954f8c5b-7b00-dc11-b283-0030488c597c
auto-link solo-nodes when making group
if make group is called with only one node selected ALL the node sockets are linked to the node group

with help+review from Lukas Toenne

This patch aims towards motivating users to use Group Node to share OSL nodes

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51871 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: This patch adds a character wrapper (similar to the already implemented vehicle wrapper) to control character physics options. Currently supported options are:
  * jump() -- causes the character to jump
  * onGround -- specifies whether or not the character is on the ground
  * gravity -- controls the "gravity" that the character physics uses for the character

More options could be added (such as jump speed, step height, make fall speed, max slope, etc).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51873 954f8c5b-7b00-dc11-b283-0030488c597c
Fix part of #33055: uv mapping did not use the right image from the material to
do aspect ratio correction when cycles was enabled.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51874 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles: improve Anisotropic BSDF node, changing the Roughness U/V inputs to
Roughness, Anisotropy and Rotation. Also a fix for automatic tangents and
OSL attribute handling.

Meaning of new sockets explained in the documentation:
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Shaders#Anisotropic

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51875 954f8c5b-7b00-dc11-b283-0030488c597c
Compile fix on Mingw:

"interface" appeared to be a shadowed var (or even a macro/define elsewhere)
which was causing errors like:
intern\cycles\blender\blender_mesh.cpp:124:23: error: multiple types in one
declaration
intern\cycles\blender\blender_mesh.cpp:124:23: error: declaration does not
declare anything [-fpermissive]


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51879 954f8c5b-7b00-dc11-b283-0030488c597c
revert own commit r34706 (fix for [#25801]), this causes bug [#25801].

checking on this code further it still isn't working correctly, will commit other changes next.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51880 954f8c5b-7b00-dc11-b283-0030488c597c
fix issue with shrinkwrap face projection distance comparisons when using both positive and negative projection.
- don't attempt to convert the 'dist' value between local/target space, since all the projections are done in target space
  and dist isnt used afterwards. Also, this could fail with non uniform scale - overwriting ray casts with larger dist values.
- added an assert to check larger dist values never overwrite smaller ones.
- remove use of sasqrt() since the value is checked beforehand anyway.


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