[core] plugins: Rename getNodePlugin... to getRegisteredNodePlugin...

This prevents ambiguities between `NodePlugin` objects that have been
registered (and are thus instantiable) and those that belong to `Plugin`
objects but have not been registered.
This commit is contained in:
Candice Bentéjac 2025-05-22 16:17:20 +02:00
parent c16b56c7e3
commit 98d90dae81
7 changed files with 17 additions and 17 deletions

View file

@ -56,7 +56,7 @@ class _NodeCreator:
self.uid = self.nodeData.get("uid", None)
self.nodeDesc = None
if meshroom.core.pluginManager.isRegistered(self.nodeType):
self.nodeDesc = meshroom.core.pluginManager.getNodePlugin(self.nodeType).nodeDescriptor
self.nodeDesc = meshroom.core.pluginManager.getRegisteredNodePlugin(self.nodeType).nodeDescriptor
def create(self) -> Union[Node, CompatibilityNode]:
compatibilityIssue = self._checkCompatibilityIssues()