style cleanup


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51271 954f8c5b-7b00-dc11-b283-0030488c597c
Limit Distance Constraint - jpbouza Feature Request

The Limit Distance constraint is now allowed to use the owner/target space
settings. Previously this wasn't exposed it didn't seem sensible/useful.
However, this can be useful when dealing with dependencies between bones and the
armature gets scaled.

Usage notes:
- It is advised to select the same space for both owner and target, otherwise
the comparisons are meaningless


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51272 954f8c5b-7b00-dc11-b283-0030488c597c
Auto key warning - Stripping down to basics

Now just a static icon + text display in corner of view. No blinking. No
red/orange text. No window borders.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51273 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/cmake: after osl librenew with globals patch, forcing oiio is not longer needed

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51274 954f8c5b-7b00-dc11-b283-0030488c597c
Removed duplicate include of stdio.h

At least on mingw, this doesn't seem to be needed.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51275 954f8c5b-7b00-dc11-b283-0030488c597c
Revert part of own r51193 (now I know where Courant comes from...), and add another exception to UI messages spellchecker! Thanks to Lockal for pointing this.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51276 954f8c5b-7b00-dc11-b283-0030488c597c
get the width and height of the font at once when drawing auto-key,
also move BLF'g global font init into its own static function.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51277 954f8c5b-7b00-dc11-b283-0030488c597c
fix for many RNA definitions having soft/hard ranges swapped, make this BLI_assert() on debug builds.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51278 954f8c5b-7b00-dc11-b283-0030488c597c
remove BLI_noise from BLI_blenlib.h, not that many files need this.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51279 954f8c5b-7b00-dc11-b283-0030488c597c
quiet clang static checker warning by returning an error for invalid situation getting an IDProp mapping from a PyObject.

also print the path installed to when installing an addon.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51280 954f8c5b-7b00-dc11-b283-0030488c597c
optimization for PyObject -> ID-property sequence conversion, use PySequence_Fast.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51281 954f8c5b-7b00-dc11-b283-0030488c597c
fix for own error in copy_as_script(), imports were incorrect.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51282 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: video playback move frame step into the PlayState struct.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51284 954f8c5b-7b00-dc11-b283-0030488c597c
quiet some -Wshadow warnings


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51285 954f8c5b-7b00-dc11-b283-0030488c597c
Templates:
* UI Panel: Add examples for different button sizes. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51286 954f8c5b-7b00-dc11-b283-0030488c597c
* Fix small bug in Python operator example; improved example of modal operator



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51287 954f8c5b-7b00-dc11-b283-0030488c597c
Bugfix [#32865] Usercounts for World Textures not decremented after preview
render

When adjusting settings for world textures (with Both/World preview modes),
every tweak would result in the usercount of the texture increasing. As a
result, before long the texture would claim to have over 100 users. Fortunately,
this only appeared to be just a cosmetic issue (i.e. no real memory leak here),
though it was a bit unsettling.

NOTE: this is still a bit glitchy, as now we have flickering when updating
texture settings - the texture still temporarily has a second user during
preview rendering.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51288 954f8c5b-7b00-dc11-b283-0030488c597c
add support for ripping off a single face from a single vertex when the vertex has 3 surrounding verts & faces.


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51290 954f8c5b-7b00-dc11-b283-0030488c597c
improve edge rip when the edge has only 2 other connected edges.

common case ripping an edge of the default cube, it didn't run the edge size check.


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