Merged changes in the trunk up to revision 50829.

Conflicts resolved:
source/blender/blenloader/intern/readfile.c
source/blender/render/intern/source/convertblender.c
source/blender/render/intern/source/pipeline.c

Also addressed code inconsistency due to changes in the trunk revision 50628 (color
management with OCIO) and 50806 (UV project material).  OCIO-related changes are marked
OCIO_TODO as in some other files modified in revision 50628.
This commit is contained in:
2012-09-23 18:50:56 +00:00
1024 changed files with 399537 additions and 14461 deletions

View File

@@ -101,14 +101,14 @@ void ImageMix::calcImage (unsigned int texId, double ts)
// cast Image pointer to ImageMix
inline ImageMix * getImageMix (PyImage * self)
inline ImageMix * getImageMix (PyImage *self)
{ return static_cast<ImageMix*>(self->m_image); }
// python methods
// get source weight
PyObject * getWeight (PyImage * self, PyObject * args)
static PyObject *getWeight (PyImage *self, PyObject *args)
{
// weight
short weight = 0;
@@ -125,7 +125,7 @@ PyObject * getWeight (PyImage * self, PyObject * args)
// set source weight
PyObject * setWeight (PyImage * self, PyObject * args)
static PyObject *setWeight (PyImage *self, PyObject *args)
{
// get arguments
char * id;