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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user