[nodes] display material output only for .obj

This commit is contained in:
Thomas Zorroche 2021-08-18 11:30:14 +02:00 committed by Fabien Castan
parent dc1ca91a31
commit fa0509eca4

View file

@ -334,6 +334,7 @@ Many cameras are contributing to the low frequencies and only the best ones cont
), ),
desc.File( desc.File(
name='outputMaterial', name='outputMaterial',
enabled= lambda node: node.outputMeshFileType.value == "obj",
label='Material', label='Material',
description='Output Material file.', description='Output Material file.',
value=desc.Node.internalFolder + 'texturedMesh.mtl', value=desc.Node.internalFolder + 'texturedMesh.mtl',