minor changes, BLI_uvproject_from_view was doing matrix multiply for no reason, quiet float/double warning.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56350 954f8c5b-7b00-dc11-b283-0030488c597c
fix for out of bounds memory read when running wire-frame tool on empty mesh.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56351 954f8c5b-7b00-dc11-b283-0030488c597c
fix for crash while drawing editmesh with weights in rare cases when the length was set but array NULL.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56352 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: Fix for [#34383] Blender crash Steering actuator 2.66 -> 2.59 -> 2.66. Reported and fixed by HG1.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56353 954f8c5b-7b00-dc11-b283-0030488c597c
Bug fix #35124

Outliner was drawing "Animation" category even when no actions/strips/drivers existed.
Would happen after adding Action and unlinking it.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56354 954f8c5b-7b00-dc11-b283-0030488c597c
Bug fix #35117

Sequencer: Properties region didn't have the general Sequencer keymap, so it didn't
respond to "Nkey" to hide the region.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56355 954f8c5b-7b00-dc11-b283-0030488c597c
This glsl shader works for OCIO with alpha. OSX iMac with ATI.

There's no logical reason I can find... but I commit it because many others have
the same error, so we can check.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56356 954f8c5b-7b00-dc11-b283-0030488c597c
GLSL display of float buffers with alpha:
Previous version worked, now a version with simplifying this GLSL code.




git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56357 954f8c5b-7b00-dc11-b283-0030488c597c
Keeping my commit count high!

Previous GLSL code had error, the if() statement had to be negated.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56358 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34233: bad alpha blending for 3D texture painting. Same changes as the
previous fix for 2D image painting were done, and also:

* For brushes that do masking (keeping the max contribution to a pixel limited),
  the alpha from textures is now part of the mask. In many cases the logic
  worked out the same and where it didn't it used to cause artifacts.

* Color interpolation for smear and soften tools now happens in premultipied
  space, to avoid bleeding of RGB colors from zero alpha areas.

* Fix a few cases where byte <=> float conversion was not doing the proper
  straight <=> premul conversion.

* Replace some float division by constants with multiplications, is faster.

Note: float texture painting seems to have some issues updating the OpenGL
texture, but issue was already there before this commit.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56359 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35121: cycles 3D viewport render pause button not working during render.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56360 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#35127] Layout -> Frame doen't exist anymore

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56361 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for "new" Cycles handling of textures, UI code assumed all texture users use "texture" as prop name, but at least WeightVG modifiers do not.

Fixed by adding a "texture_user_property" member to spacebuts' context, and using it to get the prop identifier in ui script.

Thanks to Brecht for its advice!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56362 954f8c5b-7b00-dc11-b283-0030488c597c
warning cleanup: assignment to unused vars, r56359 changes how brush falloff is used slightly but this isn't so important so just remove falloff adjustment.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56363 954f8c5b-7b00-dc11-b283-0030488c597c
Fluid UI:
* Display Simulation threads only, when built with OpenMP. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56364 954f8c5b-7b00-dc11-b283-0030488c597c
simplify projectEdgeSlideData(), was doing unneeded looping, remove and remove need for visithash also.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56365 954f8c5b-7b00-dc11-b283-0030488c597c
fix for bug with edge-slide doing UV correction when the faces connected to one of the sliding edges dont have contiguous UV's (or vcols etc).
resolve by using faces adjacent to the ones directly connected to the edge that sliding.

This isnt a prefect solution but it resolves the common case where an edge slides along a UV seam.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56366 954f8c5b-7b00-dc11-b283-0030488c597c
fix for inserting a color-curve point.
- was reading outside memory bounds checking the 'x' point.
- inserting a point to the right of the last point would add a point to the very left instead.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56367 954f8c5b-7b00-dc11-b283-0030488c597c
fix for reset brushes curve setting a flipped curve


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56368 954f8c5b-7b00-dc11-b283-0030488c597c
bullet: Fix avoiding collision response between static/kinematic objects

Sent patch upstream.

Fixes [#35115] Character physics type fails collision with static type with an action on 2.67 rc

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