Python API fix: Make properties_texture compatible with COMPAT_ENGINES, also a little enhancement for data_mesh (thanks to Matt)

This commit is contained in:
2010-04-19 00:39:46 +00:00
parent 97d90fad43
commit 6bc2eb1949
4 changed files with 57 additions and 11 deletions

View File

@@ -888,6 +888,14 @@ for member in dir(properties_data_mesh):
except:
pass
del properties_data_mesh
import properties_texture
for member in dir(properties_texture):
subclass = getattr(properties_texture, member)
try:
subclass.COMPAT_ENGINES.add('POVRAY_RENDER')
except:
pass
del properties_texture
class RenderButtonsPanel(bpy.types.Panel):