revert 53478, it looks this is still useful for a couple of use cases in non-projective texture painting such as stamping a static texture and using image space size in pixels.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53511 954f8c5b-7b00-dc11-b283-0030488c597c
r53351 removed a NULL check for name in defgroup_name_index(). name can be NULL when deforming verts in the BGE, so I'm adding a NULL check back in.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53512 954f8c5b-7b00-dc11-b283-0030488c597c
add id property clear function (matching the same python function for dicts/lists)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53513 954f8c5b-7b00-dc11-b283-0030488c597c
add option WITH_SYSTEM_BULLET to link against the bullet installation found on the system.

Note: this doesn't work yet for everything with latest stable bullet (2.81), need to look into why and likely apply some patches upstream.
However I managed to link blender by disabling some features, likely it can be made to work without too much trouble.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53515 954f8c5b-7b00-dc11-b283-0030488c597c
CMake: Setting vc10 to use Python 3.3 (it was still set to 3.2). For the time being, I'm having vc10 use the vc9 Python libs, which SCons is currently doing.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53516 954f8c5b-7b00-dc11-b283-0030488c597c
CMake: Looks like a period sneaked into r53515, which caused CMake to fail.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53517 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#33682] Animation not updated when the active shape index isnt set


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53518 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#33715] Dirty Vertex Colors display problem since 2.65a


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53519 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#33689] Crash with decimate modifier

in fact a more general bug in BM_face_create_ngon() where edges containing the same vertex multiple times were not accounted for.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53521 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: BM_face_create_ngon()

Change some of the paranoid checks into an assert since they should never happen.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53522 954f8c5b-7b00-dc11-b283-0030488c597c
change limited dissolve angle limit default from 15 -> 5 deg. since 15deg is quite high for 2 surfaces to be considered co-planar


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53523 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles Hair: refactoring to support generic attributes for hair curves. There
should be no functional changes yet. UV, tangent and intercept are now stored
as attributes, with the intention to add more like multiple uv's, vertex
colors, generated coordinates and motion vectors later.

Things got a bit messy due to having both triangle and curve data in the same
mesh data structure, which also gives us two sets of attributes. This will get
cleaned up when we split the mesh class.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53527 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles Hair: refactoring to store curves with the index of the first key and the
number of keys in the curve, rather than curve segments with the indices of two
keys. ShaderData.segment now stores the segment number in the curve.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53528 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles Hair: add Generated texture coordinates for curves, so that procedural
textures now work without having to add a UV map.

Also made UV and intercept attributes only export when needed by the shader.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53529 954f8c5b-7b00-dc11-b283-0030488c597c
Fix CUDA build error after last commit, and remove some comments.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53530 954f8c5b-7b00-dc11-b283-0030488c597c
correct invalid filter value being use for icon scaling.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53531 954f8c5b-7b00-dc11-b283-0030488c597c
Fix bevel crash bug #33714.  Had to disable elem tag on new vertices.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53532 954f8c5b-7b00-dc11-b283-0030488c597c
fix for bug rendering text at small sizes, padding was incorrectly being applied to the characters y offset causing out of bounds pixels to be requested from glTexSubImage2D().
also clamp width, height of the character bitmap to the bitmap bounds since this can still happen for very small text (2-3 pixels high).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53533 954f8c5b-7b00-dc11-b283-0030488c597c
Patch from Ejner Fergo: enhancements to install_deps.sh.
Mostly, it:
* Adds numpy and opencollada
* Merges both Suse and Fedora/Redhat into a single func (not sure this is a good idea, but would have been to painful to undo this).

Notes:
* I changed a bit how numpy is handled, so that the script does not try to build it when py3.3 was installed from package!
* Bumped oiio 'magic number', as now trying to use libtiff5 means we have to rebuild everything using tiff!
* Only made a quick test on my own system, but Ejner made quite some extensive ones, so it should be safe.
* I’m not sure keeping on extending that horrible bash thing is a good idea. Shell scripts are nice for small, limited stuff, but I personnaly find that one (over 53ko!) unreadable and a pita to maintain. Further more, doing the same for windows would mean to rewrite everything in another language... I have started work to port this as a py3 script, so that we have a nice structure (classes...) easy to extend/tweak/implement in various OSs/etc.!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53534 954f8c5b-7b00-dc11-b283-0030488c597c
fix bad left aligned text when zoomed out.
also minor change to cylinder_project_exec() - delay getting the MTFace. 


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