mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-15 10:06:56 +02:00
use semantic field in file attributes to specify images and store displayed node in 2D viewer to adapt UI
This commit is contained in:
parent
fc5ab540f5
commit
a574c0fc9b
9 changed files with 139 additions and 83 deletions
|
@ -342,14 +342,23 @@ Many cameras are contributing to the low frequencies and only the best ones cont
|
|||
uid=[],
|
||||
group='',
|
||||
),
|
||||
#desc.File(
|
||||
# name='outputTextures',
|
||||
# label='Textures',
|
||||
# description='Output Texture files.',
|
||||
# value= lambda attr: desc.Node.internalFolder + 'texture_*.' + attr.node.colorMapping.colorMappingFileType.value if attr.node.colorMapping.enable.value else '',
|
||||
# uid=[],
|
||||
# group='',
|
||||
# ),
|
||||
desc.File(
|
||||
name='outputTextures',
|
||||
label='Textures',
|
||||
description='Output Texture files.',
|
||||
value= lambda attr: desc.Node.internalFolder + 'texture_*.' + attr.node.colorMapping.colorMappingFileType.value if attr.node.colorMapping.enable.value else '',
|
||||
semantic='image',
|
||||
value=desc.Node.internalFolder+'texture_*.exr',
|
||||
uid=[],
|
||||
group='',
|
||||
),
|
||||
group=''
|
||||
)
|
||||
]
|
||||
|
||||
def upgradeAttributeValues(self, attrValues, fromVersion):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue