Page MenuHome

Image Sampling Filter settings not working or reading since r31422
Closed, ResolvedPublic

Description

Since about r31422, the use of images will only allow Filter setting of BOX. All other filter settings are not available i.e AREA, FELINE, EWA (the default).

Files previously save with EWA filters can no longer be interpreted. The Blender Consul shows the error.

Traceback (most recent call last):
File "C:\PROGRA~1\BLENDE~1\TEST-B~1\MY-BUI~2\2.53\scripts\ui\properties_textur
e.py", line 628, in draw
texture_filter_common(tex, col)
File "C:\PROGRA~1\BLENDE~1\TEST-B~1\MY-BUI~2\2.53\scripts\ui\properties_textur
e.py", line 584, in texture_filter_common
if tex.filter == 'FELINE':
AttributeError: 'ImageTexture' object has no attribute 'filter'
Traceback (most recent call last):
File "C:\PROGRA~1\BLENDE~1\TEST-B~1\MY-BUI~2\2.53\scripts\ui\properties_textur
e.py", line 628, in draw
texture_filter_common(tex, col)
File "C:\PROGRA~1\BLENDE~1\TEST-B~1\MY-BUI~2\2.53\scripts\ui\properties_textur
e.py", line 584, in texture_filter_common
if tex.filter == 'FELINE':
AttributeError: 'ImageTexture' object has no attribute 'filter'
Traceback (most recent call last):
File "C:\PROGRA~1\BLENDE~1\TEST-B~1\MY-BUI~2\2.53\scripts\ui\properties_textur
e.py", line 628, in draw
texture_filter_common(tex, col)
File "C:\PROGRA~1\BLENDE~1\TEST-B~1\MY-BUI~2\2.53\scripts\ui\properties_textur
e.py", line 584, in texture_filter_common
if tex.filter == 'FELINE':
AttributeError: 'ImageTexture' object has no attribute 'filter'
Traceback (most recent call last):
File "C:\PROGRA~1\BLENDE~1\TEST-B~1\MY-BUI~2\2.53\scripts\ui\properties_textur
e.py", line 628, in draw
texture_filter_common(tex, col)
File "C:\PROGRA~1\BLENDE~1\TEST-B~1\MY-BUI~2\2.53\scripts\ui\properties_textur
e.py", line 584, in texture_filter_common
if tex.filter == 'FELINE':
AttributeError: 'ImageTexture' object has no attribute 'filter'
Traceback (most recent call last):
File "C:\PROGRA~1\BLENDE~1\TEST-B~1\MY-BUI~2\2.53\scripts\ui\properties_textur
e.py", line 628, in draw
texture_filter_common(tex, col)
File "C:\PROGRA~1\BLENDE~1\TEST-B~1\MY-BUI~2\2.53\scripts\ui\properties_textur
e.py", line 584, in texture_filter_common
if tex.filter == 'FELINE':
AttributeError: 'ImageTexture' object has no attribute 'filter'
Traceback (most recent call last):
File "C:\PROGRA~1\BLENDE~1\TEST-B~1\MY-BUI~2\2.53\scripts\ui\properties_textur
e.py", line 628, in draw
texture_filter_common(tex, col)
File "C:\PROGRA~1\BLENDE~1\TEST-B~1\MY-BUI~2\2.53\scripts\ui\properties_textur
e.py", line 584, in texture_filter_common
if tex.filter == 'FELINE':
AttributeError: 'ImageTexture' object has no attribute 'filter'
Traceback (most recent call last):
File "C:\PROGRA~1\BLENDE~1\TEST-B~1\MY-BUI~2\2.53\scripts\ui\properties_textur
e.py", line 628, in draw
texture_filter_common(tex, col)
File "C:\PROGRA~1\BLENDE~1\TEST-B~1\MY-BUI~2\2.53\scripts\ui\properties_textur
e.py", line 584, in texture_filter_common
if tex.filter == 'FELINE':
AttributeError: 'ImageTexture' object has no attribute 'filter'
Traceback (most recent call last):
File "C:\PROGRA~1\BLENDE~1\TEST-B~1\MY-BUI~2\2.53\scripts\ui\properties_textur
e.py", line 628, in draw
texture_filter_common(tex, col)
File "C:\PROGRA~1\BLENDE~1\TEST-B~1\MY-BUI~2\2.53\scripts\ui\properties_textur
e.py", line 584, in texture_filter_common
if tex.filter == 'FELINE':
AttributeError: 'ImageTexture' object has no attribute 'filter'
Traceback (most recent call last):
File "C:\PROGRA~1\BLENDE~1\TEST-B~1\MY-BUI~2\2.53\scripts\ui\properties_textur
e.py", line 628, in draw
texture_filter_common(tex, col)
File "C:\PROGRA~1\BLENDE~1\TEST-B~1\MY-BUI~2\2.53\scripts\ui\properties_textur
e.py", line 584, in texture_filter_common
if tex.filter == 'FELINE':
AttributeError: 'ImageTexture' object has no attribute 'filter'
Traceback (most recent call last):
File "C:\PROGRA~1\BLENDE~1\TEST-B~1\MY-BUI~2\2.53\scripts\ui\properties_textur
e.py", line 628, in draw
texture_filter_common(tex, col)
File "C:\PROGRA~1\BLENDE~1\TEST-B~1\MY-BUI~2\2.53\scripts\ui\properties_textur
e.py", line 584, in texture_filter_common
if tex.filter == 'FELINE':
AttributeError: 'ImageTexture' object has no attribute 'filter'

This is easy to duplicate just assign an image texture to a cube and try to select any Filter type other than BOX from the Image sampling tab of the Texture panel.

My system WINDOWS 7 Ultimate 32bit
Graphics card GeForce 9500GT

Colin Litster (Cog)

Event Timeline

r31529 seems to have resolved the issue. I have been a been able to read older blendfiles and create new ones with the correct filter settings. So this could be closed now.

Colin

Campbell Barton (campbellbarton) changed the task status from Unknown Status to Resolved.Aug 23 2010, 2:03 PM