fix own regression with ortho-camera adding points reported as [#35462]


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56990 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#35478] Spatial Noise crashes Blender on Render


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56991 954f8c5b-7b00-dc11-b283-0030488c597c
disable auto indent when pasting text into the python console.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56992 954f8c5b-7b00-dc11-b283-0030488c597c
fix own error in r56649, caused normal calculation to fail, reported as [#35448], also quiet float/double warning.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56993 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35493: Blender crash when rendering in terminal mode

Use the same window manager for freestyle bmain as
real bmain uses. This is needed because freestyle's
bmain could be used to tag scenes for update, which
implies call of ED_render_scene_update in some cases
and that function requires proper windoew manager
to present.

Alternative would be to make render scene update does
nothing if there's no window manager, but we wanted
freestyle to be applied in rendered viewport once and
think current change is what we'll need to support
freestyle in viewport.

But a bit further, perhaps that'd make sense to not
register ED_render_scene_update as a scene update
callback when in background mode?

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56994 954f8c5b-7b00-dc11-b283-0030488c597c
weight tools: added more selection types to invert operator

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56995 954f8c5b-7b00-dc11-b283-0030488c597c
Bring back "Local" as second orientation choice after "Global", as in previuos "manual" menu. Pointed out by sebastian_k on IRC, thanks.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56996 954f8c5b-7b00-dc11-b283-0030488c597c
fix for building on osx with recent freestyle bugfix.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56997 954f8c5b-7b00-dc11-b283-0030488c597c
First attempt to handle openexr/ilmbase 2.0 in install_deps.sh (linux builds).

Only activated for Deb-like distro for now, only tested with testing/amd64. Notes :
* Had to add a hell of patches to ilmbase/openexr/oiio cmake files (some are real, stupid bugs fixing [like files missing in lists or wrong linking order], others are "enhancements" [like being able to compile both static and dyn libs for openexr]).
* Unfortunately, I could not manage to keep oiio static (can't compile osl later, as it does not link all deps of oiio, tiff, jpeg, png, etc.). I’ll try to fix this later, but for now, you'll have to do as with boost (ldconfig).

I won't say here what I think about not having any (reliable) way to really link a static lib into another one... :/

Will test and enable other distro in following day(s), I do not *expect* much difficulties here.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56998 954f8c5b-7b00-dc11-b283-0030488c597c
weight tools: added more selection types to levels operator

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56999 954f8c5b-7b00-dc11-b283-0030488c597c
fixed memory leak in weight tool: levels

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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57001 954f8c5b-7b00-dc11-b283-0030488c597c
Changes for masks API

Made it more consistent with blender convensions
and now it's very familiar to curve's python api.

- Made it spline.points.add(count) wich is more
  efficient in cases lots of points are adding.
  (points.new was removed tho).

- Removed mask_layer.splines.add(), now it's only
  mask_layer.splines.new(), which is how splines
  are adding for curves.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57002 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for [#35490] Initial cube is green, turn off matcap and it is correct color
* Own error from r56980, "smooth" is an Interpolation qualifier in GLSL, so use another variable name to avoid the error. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57003 954f8c5b-7b00-dc11-b283-0030488c597c
Fix bug #35450, bevel make large spikes sometimes.
Needed special case for when beveled edge is
antiparallel to an adjacent edge.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57004 954f8c5b-7b00-dc11-b283-0030488c597c
weight tools: added more selection types to limit total operator

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57005 954f8c5b-7b00-dc11-b283-0030488c597c
A bunch of fixes to install_deps.sh (most notably, a bug in oiio's embeded version of tbb, buggy oiio archive handling, moved ilmbase files into openexr dir (as expected by Blender), ...).

Tested with debian testing/i386 this time.

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