change to object-smooth poll function, no need to check for active object, just check we're not in editmode.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59075 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #36437 Cycles no longer rendering Emitter object (Particle Systems). The change r58999 was ignoring the "show_emitter" setting by particles (the result would be the same as long as hair was not
used). If particle emitters are forced to show all other of the usual duplicator hiding should be disabled.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59076 954f8c5b-7b00-dc11-b283-0030488c597c
bpy.path.reduce_dirs() - new utility function to de-duplicate and remove nested paths before doing a recursive search.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59077 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #36408: Setting `image.colorspace_settings.name` changes saved alpha

Issue was caused by reload caused by input colorspace change.

For generated images generated alpha flags weren't saved to
DNA, which lead to fallback from 32 bit depth to 24 when
doing any kind reload of generated image.

The same alpha loss happens when you save .blend file with
generated images.

Now added generated depth to DNA, so reload image and .blend
file wouldn't loss alpha.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59078 954f8c5b-7b00-dc11-b283-0030488c597c
image_load() utility function's 'recursive' option wasn't functional since 2.4x


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59079 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #36420: ends of curves - caps & twist not good

Forgot to calculate directions of first/last points
for NURBS and POLY splines.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59080 954f8c5b-7b00-dc11-b283-0030488c597c
Add jemalloc license to release/text

Official linux builds are linking against jemalloc,
and in the own branch i'm using some of it's code.

License files location could be changed a bit later
(i.e. make it so all the license files are in the
single folder, not in the root of the blender distro).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59082 954f8c5b-7b00-dc11-b283-0030488c597c
GPL V3 license, which will be valid for the binary releases.
(Because Blender links with the Apache2 license).

Cleanup of this directory will happen before official release.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59084 954f8c5b-7b00-dc11-b283-0030488c597c
Followup for r58992, fixing user decrement error

Some places like proxy rebuild didn't increent
custom shape user counter which lead to user
decrement errors later when freeing pose channels.

Try to keep custom object counter relevent, but
some corner cases might still be missing.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59085 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#36439] Switching windows on Win7 x64 under certain outliner conditions will cause crash


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59089 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh_edge_separate: avoid counting radial loops when splitting edges, we only need to check if the edge is boundary or not. will speedup edgesplit modifier a little.


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