-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
bugfor actual bugs (unsure? use type:question)for actual bugs (unsure? use type:question)
Description
Description
Meshroom/meshroom/ui/reconstruction.py
Lines 441 to 444 in e704e5b
for plugin in meshroom.core.pluginManager.getPlugins().values(): | |
for node in plugin.nodes.values(): | |
if node.reload(): | |
nodeTypes.append(node.nodeDescriptor.__name__) |
For some reason when I trigger the plugins hot-reload they are reloaded twice.
It doesn't seem to depend on the number of node instance
Reproduction steps
- Create a dummy plugin, for example :
class TestNode(desc.Node):
print("Load TestNode")
category = 'TestPlugin'
documentation = """Test node"""
size = desc.StaticNodeSize(1)
parallelization = None
inputs = [
desc.File(
name='inputA',
label='input',
description='',
value='',
),
desc.File(
name='inputB',
label='input',
description='',
value='',
)
]
outputs = [
desc.File(
name='outputFolder',
label='outputFolder',
description='outputFolder',
value="{nodeCacheFolder}",
group='',
),
]
def processChunk(self, chunk):
pass
- Launch meshroom
- Change the code of the plugin (e.g. remove
inputB
) - Trigger the hot-reload

- You can see that TestNode is reloaded twice
Metadata
Metadata
Assignees
Labels
bugfor actual bugs (unsure? use type:question)for actual bugs (unsure? use type:question)