bugfix. Brush zoom could fail if uv sculpting was on

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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44928 954f8c5b-7b00-dc11-b283-0030488c597c
fix for own silly mistake with face creation (wasnt checking more then 1 vert was selected)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44929 954f8c5b-7b00-dc11-b283-0030488c597c
add select invert for lattice


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44930 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for size of VBO index type when drawing multires in sculpt mode.

The VBO index type can be either ushort or uint depending on the grid
size. The comparison was checking how many quads are in the array, but
this was incorrect; the size of the index elements should depend on
the maximum value they reference, i.e. the maximum coord/normal
element.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44931 954f8c5b-7b00-dc11-b283-0030488c597c
minor improvement to image info color sample drawing, draw a grey outline.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44932 954f8c5b-7b00-dc11-b283-0030488c597c
Reduce poly map memory usage (used by sculpt smooth brush.)

Changed the create_vert_poly_map function to return a more compact
structure. Memory saved will vary depending on the mesh, but typically
it should be about one third of the old size.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44933 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh py api:
 split up BMElemSeq into BMVertSeq, BMEdgeSeq, BMFaceSeq and BMLoopSeq

 Was becoming cumbersome since each needed their own new() function, and other methods only worked for some of these types.

Added BMesh.loops - since you cant iterate over loops this is for customdata access only.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44934 954f8c5b-7b00-dc11-b283-0030488c597c
#collada instance_node import, partially fixes #27629

Patch applied in r37663 caused loss of <instance_node>s.

All parts of the smaller test file attached in the report now import.



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

added per loop UV layer access


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44936 954f8c5b-7b00-dc11-b283-0030488c597c
Make grumpy gcc happy again! :p

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44937 954f8c5b-7b00-dc11-b283-0030488c597c
minor mathutils code cleanup - use mathutils callbacks as unsigned chars everywhere.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44938 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for yesterday i18n own commit (r44924): we now need to define WITH_INTERNATIONAL everywhere TIP_/IFACE_ macros are used (else, we get non-international, dummy NOP macros instead!).

Also fixed in main CMakeList file, when no addon dir found, we want to disable WITH_PYTHON (I guess, certainly not WITH_INTERNATIONAL ;) ).

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

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44940 954f8c5b-7b00-dc11-b283-0030488c597c
Minor UI messages fixes, and enabling i18n for all modifier_setError() error messages.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44941 954f8c5b-7b00-dc11-b283-0030488c597c
Big step forward nodes UI translation:
*Add menu is now translated.
*Nodes' title is now translated.
*Nodes' sockets' labels are now translated.

However, about the last point, and unless I’m mistaking, we’ll have to add the "i18n tag" N_() to all sockets' names, in the input/ouput templates declaration, in all nodes' files, as those sockets are collections created at runtime, I think po-generating script has no way to access that from bpy.types... Quite a piece of (borring) work. :/

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44942 954f8c5b-7b00-dc11-b283-0030488c597c
Fix 30562: bevel was infinite looping when adjacent faces had incompatible normals

The fix is to check for cases where BME_Bevel_Dissolve_Disk was trying
to join faces with opposite normals and reverse one.  This isn't a great
fix, and the example blend has strange corners at the top after beveling,
but at least it stops the infinite loops.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44943 954f8c5b-7b00-dc11-b283-0030488c597c
dont disable python when addons aren't found (addons are not needed for python to run)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44944 954f8c5b-7b00-dc11-b283-0030488c597c
UI messages: unification of select/deselect stuff.

Previously we had three versions, Select/Deselect, Select or Deselect, and (De)select, choosen the third (shortest) one for now.

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

Bugfix: [#28159] sequencer strip crop values on proxy not scene render size

Also: IMB saturation change moved into imbuf-module.



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