ID 410782 - DISABLE_SMALL_UNIFORMS has a reversed behaviour

Follow

Problem summary
DISABLE_SMALL_UNIFORMS has a reversed behaviour 

DISABLE_SMALL_UNIFORMS=True enables small textures even though it should be the opposite 

Also, the default behaviour is to disable small textures and this should be the opposite as well 


Customer reported version
mari.4.5v2


Customer reported platform


Steps to reproduce


1) Open Mari and the Example head project 

2) Add a color procedural layer to the Diffuse Channel 

3) Open the python console and execute the following: 

geo = mari.geo.current()
channel = geo.channelList()[0]
eItem = mari.ExportItem()
eItem.setSourceNode(channel.channelNode())
eItem.setFileTemplate("$CHANNEL.$UDIM.tif")
mari.exports.addExportItem(eItem, mari.current.geo())
mari.exports.exportTextures([eItem], "C:\location\path", Overrides={'DISABLE_SMALL_UNIFORMS': False})

result: The exported images are in full resolution even though DISABLE_SMALL_UNIFORMS is set to False

Expected behaviour
Mari should export small textures when using 'DISABLE_SMALL_UNIFORMS': False


Actual behaviour
Mari exports in full resolution 


Workaround
Use 'DISABLE_SMALL_UNIFORMS': True


Reproduced by support
This bug has been reproduced in:

4.5v2 - Windows 10 - CentOS 7 


Earliest version tested
4.5v2 - Full regression test cannot be done due to TP 394852 Custom OCIO is causing small textures to export in full resolution


    We're sorry to hear that

    Please tell us why