Fix for Freestyle hang up in stroke rendering, due to missing update of 2D stroke length in StorkeCleaner.
Problem report by Light BWK through personal communications, thanks!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60383 954f8c5b-7b00-dc11-b283-0030488c597c
Made PIL_time_utildefines self-sufficient

Meaning it's enough to only include PIL_time_utildefines for
benchmarking, no need to worry about other header dependencies.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60384 954f8c5b-7b00-dc11-b283-0030488c597c
Fix related #36824: Shrinkwrap modifier 'Subsurf Levels' doesn't seem to do anything

Subsurf Levels only makes sense when using Projection mode,
so moved this option into if mode == 'PROJECTION' branch.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60387 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#36822], Sky Turbidity values > 10 could result in weird behavior and crashes with the new sky model. 

Soft UI range is 10 already, now clamp inside the code as well. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60388 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for #36823, SSS node now displays a warning, that it does not work on the GPU. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60389 954f8c5b-7b00-dc11-b283-0030488c597c
relating to [#36822], apply clamping to hard limits too


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60390 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #36630, Particlesystem - boids - goal - collision.
Problem was introduced with r54648, which determined the initial interval for the Newton-Raphson method using the "total_time" of the collision - but this info is only defined for regular collisions, not
for the raycasting used in boids to find the "ground object". To ensure correct behavior, now clear the collision info before using it (good practice in any case), then check the inv_total_time variable
and use the standard 0.001 step if not defined.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60392 954f8c5b-7b00-dc11-b283-0030488c597c
install_deps.sh fix: add explicit OGG lib handling, we need it to pass correct values for ffmpeg libraries (at least for static builds).

I’m not close to understand why this has worked fine until today... :/

Only tested with Debian, but I would not expect any issue with Fedora/Suse/Arch, this is a quite simple change!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60394 954f8c5b-7b00-dc11-b283-0030488c597c
rna: implementing function to remove keymap from keyconfig

Thanks Campbell Barton for reviewing.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60395 954f8c5b-7b00-dc11-b283-0030488c597c
replace ints with bools for keymap functions.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60396 954f8c5b-7b00-dc11-b283-0030488c597c
Merge branch 'master' into photoshop_psd
blenderplayer stubs for WM_keymap_remove
(reported by Thomas Dinges on irc)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60397 954f8c5b-7b00-dc11-b283-0030488c597c
Elbeem: Use pragma directive instead of overriding number of omp threads

Global OpenMP threads override is not a good idea because this would affect
all possible OpenMP blocks running at the same time as simulation.

And that was actually a big on restoring number of threads: code needed to
store current number of threads, not maximal one.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60398 954f8c5b-7b00-dc11-b283-0030488c597c
Elbeem: fix memory leak and add guarded allocator directives

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60399 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35684: cycles unable to use full 6GB of memory on NVidia Titan GPU. We now
use arrays instead of textures for general storage on this card (image textures
are still stored as texture). Textures were found to be faster on older cards,
but the limits on 1D texture size have not increased along with the memory size,
which meant that the full 6 GB could not be used.

The performance actually seems to be slightly better with arrays in some tests
on Titan. For older cards there seems to be a bit of a mix, some are better and
others not. We may change those to use arrays too, but more testing is needed,
only Titan and Tesla K20 (sm_35) is changed for now.

The fact that arrays are faster is a bit surprising, as others found textures
to be faster on Kepler. However even if they were, the memory limitation is
more important to solve anyway.
https://research.nvidia.com/publication/understanding-efficiency-ray-traversal-gpus-kepler-and-fermi-addendum

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60400 954f8c5b-7b00-dc11-b283-0030488c597c
Fix build error when building without OpenMP.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60401 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #36826: make screencast with quicktime output gave black flickering areas.
Problem was OpenGL buffer alpha channel, it's not used in most places and so
not set to any meaningful value while drawing.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60402 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#36827] 2.69 bug with smoke domain, particle emitter and a force field causes a crash

fuel array might be null!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60406 954f8c5b-7b00-dc11-b283-0030488c597c
add PoseBone.children convenience attribute.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60407 954f8c5b-7b00-dc11-b283-0030488c597c
Merge branch 'master' into photoshop_psd