mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-16 00:05:26 +02:00
[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:
parent
c16b56c7e3
commit
98d90dae81
7 changed files with 17 additions and 17 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue