Fix #32947: cycles color to float conversion issue after integer socket commit.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51494 954f8c5b-7b00-dc11-b283-0030488c597c
Patch #27397: Improved DPX/Cineon code

Patch by Julien Enche, thanks!

From the patch comment:

It allows Blender to load:
- 1, 8, 10, 12 and 16 bits files. For 10 and 12 bits files, packed or
  filled type A/B are supported.
- RGB, Log, Luma and YCbCr colorspaces.
- Big and little endian storage.
- Multi-elements (planar) storage.

It allows Blender to save :
- 8, 10, 12 and 16 bits file. For 10 and 12 bits files, the most used
  type A padding is used.
- RGB and Log colorspaces (Cineon can only be saved in Log colorspace).
  For Log colorspace, the common default values are used for gamma,
  reference black and reference white (respectively 1.7, 95 and 685 for
  10 bits files).
- Saved DPX/Cineon files now match the viewer.

Some files won't load (mostly because I haven't seen any of them):
- Compressed files
- 32 and 64 bits files
- Image orientation information are not taken in account. Here too,
  I haven't seen any file that was not top-bottom/left-right oriented.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51495 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup: use more const's in BLI_heap & dpx/cineon style cleanup

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51496 954f8c5b-7b00-dc11-b283-0030488c597c
Compilation error fix for scons caused by recent dpx commit

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51497 954f8c5b-7b00-dc11-b283-0030488c597c
Compilation fix for windows platform

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51498 954f8c5b-7b00-dc11-b283-0030488c597c
Some more fixes for cineon

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51499 954f8c5b-7b00-dc11-b283-0030488c597c
New "dynamic" i18n menu.

Now both UI translation menu (in userprefs) and isocodes are defined in a text file (release/datafiles/locale/languages), parsed at lunchtime. This way:
* No more need to edit Blender code each time we want to add an new language or reorganize the existing menu;
* Translators can easily add a new language for testing, by just editing the text file, so no more need to ask to change Blender code and wait for a new build to see your new translation work in Blender!

Remaining todo:
* Commit i18n py tools
* Update wiki doc!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51500 954f8c5b-7b00-dc11-b283-0030488c597c
Fix related to #32929: update list of available devices for cycles rendering
while Blender is running, not only on load. It might help a case when Blender
is started before the CUDA driver is fully initialized.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51501 954f8c5b-7b00-dc11-b283-0030488c597c
Update of the tools for the new "dynamic" i18n menu, to generate the languages file into locale dir...

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51502 954f8c5b-7b00-dc11-b283-0030488c597c
Grmll… Forgot to cleanup dev prints before committing, sorry... :/

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51503 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for inline functions of new cineon library

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

Full Sample Antialiasing render gave fireflies with halos - especially on edges of polygons.
Reason was FSA exception case in code, using uninitialized color array.

Probably these fireflies were hunting us already for many many years.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51505 954f8c5b-7b00-dc11-b283-0030488c597c
add vertex group option to decimate modifier, handy if you want to pin some parts of the geometry.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51506 954f8c5b-7b00-dc11-b283-0030488c597c
Apparently msvc doesn't have isnan.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51507 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: check defgroup_name_index() return value != -1, rather then checking >= 0.

also remove unused bmesh decimator code.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51508 954f8c5b-7b00-dc11-b283-0030488c597c
decimator - small optimization on check for degenerate edges.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51509 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #32522: Object's diffuse color not showing in Sculpt Mode

Added option to display object's diffuse color multiplied by sculpting
mask. This option could be found in Options panel of toolshelf when in
sculpting mode.

Thanks to Nicholas and Brecht for reviewing the patch!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51510 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #32930: texture colors in material nodes (blender internal) are brighter than normal

There was a missing byte buffer linearization for shader nodes.

Also fixed incorrect image input color space refresh when image is packed.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51511 954f8c5b-7b00-dc11-b283-0030488c597c
RNA C++ API improvements

Added support of such features, as:

- Ability to call RNA functions using C++ classes
  For example RenderEngine.tag_update

- Property setters (for scalars and arrays)
  Used Qt/jQuery-like getters/setters style, meaning Class.prop() is a getter,
  Class.prop(value) is a setter.

Still to come:

Collection functions are not currently registering inside a property
Meaning BlendData.meshes wouldn't be a subclass of BlendDataMeshes result
you'll need to explicitly create BlendDataMeshes for now instead of doing
BlendData.meshes.remove()

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51512 954f8c5b-7b00-dc11-b283-0030488c597c
Temporary disable sm_13 for 32bit buildbot -- it requires more than 4GB of memory
to compile, which for sure can not be allocated on 32bit platform

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