SVN maintenance.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47444 954f8c5b-7b00-dc11-b283-0030488c597c
correction to own change with cmake, oiio linking.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47447 954f8c5b-7b00-dc11-b283-0030488c597c
fix for possible uninitialized pointer use in mask rasterize and remove some dead code.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47448 954f8c5b-7b00-dc11-b283-0030488c597c
mask switch direction now swaps handle direction too


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47449 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #31706, Crash loading old file in trunk build.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47450 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #31593: Every time I switch between edit and object mode, it crashes

Crash was caused by incorrect restoring OpenGL context due to some
weird bit operations used to indicate whether stuff like color arrays
is initialized resulting in some unpredictable results on different
platforms and drivers.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47451 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles / OSL:
* Remove oslexec_pvt.h header and some typo fixes. 
* This file needs deeper updates for changes done in OSL 0.6.0, see
https://github.com/imageworks/OpenShadingLanguage/commit/11ce51418b45e975ace4d919a4bdd8c2001ba300

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47452 954f8c5b-7b00-dc11-b283-0030488c597c
mask editing
- clear feather weights (alt+s)
- fix for glitch where placing the feather would jitter.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47453 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #31702: Drag and Drop parenting crashes Blender

Crash was caused by recent changes in parent drop operator which were
aimed to prevent parenting objects between different scenes (which probably
makes sense).

The problem was how it was checked if objects belongs to the same scene --
outliner tree with type ID_SCE was used for this which works pretty nice
for All Scenes outliner view. But in other view modes there is no scene
element in outliner tree which lead to some NULL pointer dereferences.

Currently resolved this by assuming that if there's no Scene parent element
in outliner tree parent and child belongs to the same scene which is active
scene. This is truth for current view modes of outliner but if it'll be
changed in the future this assumption shall be updated and re-implemented
with some smarter checks of which scene object from outliner belongs to.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47454 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #31713: Mask editor: RMB drag crashes Blender

Simple missed NULL check in TransData creation.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47456 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: var names in mask code


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47457 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: helper functions for masking.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47458 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: mask feather weight - add in checks for u==1 or u==0


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47459 954f8c5b-7b00-dc11-b283-0030488c597c
change how the weight for feather points are calculated with masking, instead of using absolute weights, multiply by by the weights of the adjacent beziers.

without this - there was no way to animate the overall feather influence of the feather.

will update tools to account for this next.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47460 954f8c5b-7b00-dc11-b283-0030488c597c
mask point slide now accounts for scaled bezier weights,


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47462 954f8c5b-7b00-dc11-b283-0030488c597c
missed this last commit - account for weight scaling on adding points.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47463 954f8c5b-7b00-dc11-b283-0030488c597c
shrink/fatten transform for mask - adjusts the feather weight.
works in proportional editmode too.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47465 954f8c5b-7b00-dc11-b283-0030488c597c
shrink/fatten now works with proportional editmode on curves.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47466 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles / OSL:
* Fixes for r46114, object_fetch_transform missed time argument.
* Syntax fixes for Checker texture. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47470 954f8c5b-7b00-dc11-b283-0030488c597c
Configurable start frame for movie clip datablocks as alternative to automatic start frame number

Number of start frame in opened image sequence used to be distinguished automatically
in a way that file name used on open would be displayed at scene frame #1.

But sometimes it's useful to have it manually configurable (like in cases when you're
processing image sequence and replacing clip's filepath to postprocessed image sequence
and want new clip to show at the same frame range as it was rendered from).

Added Custom Start Frame flag to movie clip (could be accessed from Footage panel in
clip editor) and Start Frame which means number of frame from sequence which would
be displayed at scene frame #1.

For example if you've got clip pointing to file render_00100.png and Start Frame of 100
this file would be displayed at scene frame #1, if Start Frame is 1 then this image
would be displayed at scene frame #100,

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