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