Fix build error with scons + msvc, needs pthread include.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56284 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #29932 Left Shift + Numpad 1,2,3 not Aligning to Active

Intermediate Shift+Key messages were resetting modifier flags.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56285 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#35072] View name of 3Dview is clamped in Japanese
just increase size of string to allow for utf8 chars.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56286 954f8c5b-7b00-dc11-b283-0030488c597c
ruler snap adjustments
- when in wireframe mode: don't snap to faces, instead snap to the closest edge/vertex.
- when not in wireframe mode: snap to the front-most element (was a problem that it could snap to an edge/vert behind the face)
- reduce the distance for selecting ruler points, was too easy to accidentally drag a ruler.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56287 954f8c5b-7b00-dc11-b283-0030488c597c
Bugfix [#35075] Physics Panel of Particles Fluid is Truncated

Some RNA Properties were not updated in UI scripts after a recent refactoring
there removing "use_" prefix from some of the boolean properties (strangely
though, while every other property attached to SPHFluidSettings.flag has gone
from "use_factor_blah" to "factor_blah", use_factor_density still keeps the old
prefix).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56288 954f8c5b-7b00-dc11-b283-0030488c597c
ruler snapping
- draw snap circle to make it more obvious when snapping succeeds.
- when not in wire-view, snap to the surface when adding new rulers.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56289 954f8c5b-7b00-dc11-b283-0030488c597c
ruler tweak: don't, snap to edit-object, because it didnt work well when modifiers are applied in editmode.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56290 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35074: Image editor shows color banding on rendered images (even with dither set to 2.0)

Mistake in one of changes to GLSL display function,
missed fallback mode in case dither is non-zero,

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56291 954f8c5b-7b00-dc11-b283-0030488c597c
fix:#35073 face normals calculation used wrong mloop index

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56292 954f8c5b-7b00-dc11-b283-0030488c597c
Fix part of #34640: colors darkening when using the vertex paint blur tool.

The problem was that vertex colors only have 8 bits of precision, and integer
division always rounds down, so after some color blending iterations everything
gets darker. Instead use integer division that behaves like round() instead of
floor() for blending operations.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56293 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35077: cycles incorrectly rendered an empty with dupligroup that was
dupliverted by its parent.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56294 954f8c5b-7b00-dc11-b283-0030488c597c
Fix part of #34640: vertex color blur brush would average face corner colors
at vertices for the entire mesh, which meant that discontinuous face colors
would be lost for unrelated parts of the mesh too. Now only vertices within
the brush radius will be affected.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56295 954f8c5b-7b00-dc11-b283-0030488c597c
Fix freestyle crash due to freed memory access. The render data needs to be
freed first, and then the scene that it used.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56296 954f8c5b-7b00-dc11-b283-0030488c597c
individual inset was missing relative option.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56297 954f8c5b-7b00-dc11-b283-0030488c597c
minor fixes for freestyle
- update copying code for linestyles to copy gaps
- update copying code for freestyle line modifiers to copy mapping flags and seeds
- fix drawing code for Material modifiers after a recent refactoring


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56299 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#34545] Render layer name is unwantedly translated in composite node editor

Some enums' items actually are generated from data (like the render layers of compo nodes), so they should not be translated. Added a PROP_ENUM_NO_TRANSLATE new RNA flag to tag those enums (only found those for nodes, but may be more of them around).

Also fix similar issue in main list of render layers (Py UI code! :P ).

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

Remove outdated comment.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56301 954f8c5b-7b00-dc11-b283-0030488c597c
game engine: Use bullet's default contact processing theshold

Blender's old default of 1 was too small here.
Now we don't override the default.
If it's really needed to use a smaller value here, the property should
be first exposed in the ui, but don't think this is necessary.

Fixes [#35076] Dynamic objects have periodic glitch in velocity when on an incline

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