Collada: Fix export of Normals where shading is set to smooth

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55000 954f8c5b-7b00-dc11-b283-0030488c597c
Collada: Fix: do not export controllers when shape_key exporting is disabled

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55001 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: unused vars in collada, preprocessor formatting & warning in mingw.
also compiling without bullet needed a stub added.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55002 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34369] applying screw modifier turns object to black


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55004 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34490] Copy and paste floating point number fields losses precision
- copy now gets up to 6 decimal places
- copy and UI float button editing now strip zeros: 1.000 -> 1.0


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55005 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34473] Blender Crashes on toggling modes, dynatopo sculpt/object mode.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55007 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34416] Sculpt with ALT-B affects unseen mesh parts


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55008 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: view3d_clipping_test was making a vector copy for no reason.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55009 954f8c5b-7b00-dc11-b283-0030488c597c
BGE bug-fix[#34523] 2dfilter produces render error (objects disappear) - likely an alpha problem
Fix for 2.66a

With help from Daniel Stokes and Mitchell Stokes.

This bug always existed in OSX, but started showing up in Windows and Linux on review (54745 + 54747)
[the patch to enable alpha buffer for all OSs]

A better fix would be to use RAS_IRasterizer::SetAlphaBlend(GPU_BLEND_SOLID);
but I think gpu_verify_alpha_blend() is not switching to SOLID because
GTS.alphablend is GPU_BLEND_SOLID (even though GL_ALPHA_TEST is enabled).

Anyways, this is not something worth tackling now, since in terms of functionality it shouldn't matter.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55010 954f8c5b-7b00-dc11-b283-0030488c597c
bge bugfix: [#34517] 2D Filter causes mouselook script drifting effect (patch by Daniel Stokes - Kupoman)
Fix for 2.66a

""We can't pass the results of canvas->GetViewPort() directly because canvas->SetViewPort() does some extra math""
Bug introduced during 2.65 series in the refactor to use canvas->SetViewPort instead of direct opengl calls for viewport
(53305, 53392, 53393)


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

Should go to 2.66a

Image Sequence texture now allows to animate "Offset" again with fcurves.
This was disabled for 2.65, it only works for fcurve key inserting (not
for drivers), but too many people have been using to animate character
textures already...



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55012 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/locale: a further cleanup

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55013 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34501: Painting on image editor with texture brush causes memory leaks in render module

Issue was caused by svn rev54721 where donequeue wasn't fully handled
in cases rendering was canceled, which lead to some render results
unfreed.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55017 954f8c5b-7b00-dc11-b283-0030488c597c
Collada: Added ngon support to Vertex Color exporter

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55020 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34475: Weird noise bug with Texture nodes

Made Texture compositor input node single-threaded since
texture trees are not thread-safe.

Also fixed texture being flipped horizontally and vertically.
Why nobody noticed this for 3 releases already??

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55021 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for image transparency backwards compatibility. Now the texture datablock has
a Use Alpha option again. This makes the case where you enabled Premultiply on the
image and disabled Use Alpha on the texture work again.

That's mostly useful when you have a straight alpha image file which has no useful
RGB colors in zero alpha regions (e.g. renders). Then sometimes you don't want to
use the alpha for the texture stack mixing, but you still want to multiply it into
the RGB channels to avoid a blocky transition into zero alpha regions.

This also removes the version patch that copied image datablocks because it's not
reliable and might be causing bug #34434. This does mean we are no longer backwards
compatible for cases where two different texture datablocks with Use Alpha enabled
and disabled where using the same image.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55022 954f8c5b-7b00-dc11-b283-0030488c597c
patch [#34525] Scons ' color
by Andrey Izrantsev (bdancer)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55023 954f8c5b-7b00-dc11-b283-0030488c597c
Change default margin for bake to 16 pixels

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55024 954f8c5b-7b00-dc11-b283-0030488c597c
Avoid clearing the depth buffer when using full screen quads for
gradients

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55025 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for texture preview render with show alpha enabled, now it shows no
transparency when use alpha and calculate alpha are disabled.

It's a bit arbitrary as it's not possible to fully visualize the output
of a texture, that depends on how it's used in the texture stack, but this
is a bit more in line with what you might expect.

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