Python API: Make properties_data_mesh compatible with COMPAT_ENGINES. (supervised by Matt ;)

This commit is contained in:
2010-04-18 23:52:37 +00:00
parent 30bf23d22d
commit 6cdf29e1c9
3 changed files with 27 additions and 3 deletions

View File

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