From fa0509eca45d5df4971bb75cc12f3248094f883d Mon Sep 17 00:00:00 2001 From: Thomas Zorroche Date: Wed, 18 Aug 2021 11:30:14 +0200 Subject: [PATCH] [nodes] display material output only for .obj --- meshroom/nodes/aliceVision/Texturing.py | 1 + 1 file changed, 1 insertion(+) diff --git a/meshroom/nodes/aliceVision/Texturing.py b/meshroom/nodes/aliceVision/Texturing.py index 69eac6b3..8de833d0 100644 --- a/meshroom/nodes/aliceVision/Texturing.py +++ b/meshroom/nodes/aliceVision/Texturing.py @@ -334,6 +334,7 @@ Many cameras are contributing to the low frequencies and only the best ones cont ), desc.File( name='outputMaterial', + enabled= lambda node: node.outputMeshFileType.value == "obj", label='Material', description='Output Material file.', value=desc.Node.internalFolder + 'texturedMesh.mtl',