deleting mask data wasn't deleting loop data. also return OPERATOR_CANCELLED when nothing was done.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50842 954f8c5b-7b00-dc11-b283-0030488c597c
Proper fix for #32626: TIFF renders are limited to 8 bit even when we choose 16.

Color management would be applied on both of float and byte buffers on image
save in cases if file format doesn't require linear float buffer and if image
is saving as render result.

This solves both initial report issue and TODO marked in previous fix.

Also de-duplicated image buffer color managing code and gave some more
meaningful names for few functions. Also wrote documentation around this
function, so current assumptions about spaces should be clear enough.

Made regression tests by saving EXR/PNG images to all supported format and
rendering OpenGL/Normal animation, in all cases seems everything is fine,
but more tests for sure would be welcome.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50843 954f8c5b-7b00-dc11-b283-0030488c597c
No need to limit image frame offset to blender's frame range

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50844 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #32396: EyeDropper does nothing on "New" in Uv image editor

For now simply hide color picker button for properties which doesn't
have RNA path. Trying to make color picker working would end up with
design limitations like not bale to run two operators the same time.

Used RNA_property_path_from_ID_check for check which is marked as
slow and need to be used with care. Since this function is only called
from a popup, shouldn't be a big problem.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50845 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #32644: ctrl+F11 internal animation player crash

Crash was caused by missed color management initialization -- it was
happening too late.

Move it to generic ImBuf init/exit functions, so now color management
is properly initializing when animation player is launched.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50846 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #32638: mesh double sided normals option not available in any Cycles panel.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50847 954f8c5b-7b00-dc11-b283-0030488c597c
Fix image editor switching to no image when deselecting all faces for UV editing,
it should just keep the last image in that case.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50848 954f8c5b-7b00-dc11-b283-0030488c597c
Fix crash on sequencer when movie clip fails to load frame

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50849 954f8c5b-7b00-dc11-b283-0030488c597c
Expose movie clip duration property to RNA

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50850 954f8c5b-7b00-dc11-b283-0030488c597c
Sequencer: movie clip float buffers should be converted to internal sequencer space

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50851 954f8c5b-7b00-dc11-b283-0030488c597c
- Corrected movie clip length computation
- Ignore clip's offset for movie clip sequencer strip

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

- Added initialization of frame node color to default theme loading
  Used default color from 2.63a theme, should be pretty fine as default.

- Added some missing versioning checks which lead to differences between
  startup.blend and default theme restored.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50853 954f8c5b-7b00-dc11-b283-0030488c597c
Update startup.blend to store proper default theme

(there were several differences on color theme stored in startup.blend
and colors after restoring them by Reset to Default Theme button).

Should be no other changes.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50854 954f8c5b-7b00-dc11-b283-0030488c597c
Some further fixes for #32626: TIFF renders are limited to 8 bit even when we choose 16.

File type was checking for wrong flags, now it should be checked against
actual file format flags which would be used on save.

We also can not free float buffer if file format doesn't have IM_FTYPE_FLOAT
flag -- i.e. TIFF doesn't have such flag and it decides whether float or
byte buffer should be used based on image depth.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50857 954f8c5b-7b00-dc11-b283-0030488c597c
OSL/cmake: the non-intrusive parts, so other os-maintainers can take code over

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50861 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/osl: add install of shader headers needed for osl_nodes compile

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50862 954f8c5b-7b00-dc11-b283-0030488c597c
fix cmake in case the boostlibs don't contain boost_python3 yet

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50863 954f8c5b-7b00-dc11-b283-0030488c597c
fix cmake in case the boostlibs don't contain boost_python3 refactor ( was possibly not correct)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50865 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: add missing includes to RNA (this one is safe!)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50866 954f8c5b-7b00-dc11-b283-0030488c597c
rename RNA duration --> frame_duration to match sequence strip.


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