mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Code cosmetics
This commit is contained in:
parent
efb7d42a7f
commit
9ed90e67f8
1 changed files with 3 additions and 3 deletions
|
|
@ -52,7 +52,7 @@ class ConnectGeometry(InventoryAction):
|
|||
self.display_warning(message)
|
||||
return
|
||||
|
||||
source_container = source_containers[0]
|
||||
source_object = source_containers[0]["objectName"]
|
||||
|
||||
# Collect matching geometry transforms based cbId attribute.
|
||||
target_containers = []
|
||||
|
|
@ -62,7 +62,7 @@ class ConnectGeometry(InventoryAction):
|
|||
|
||||
target_containers.extend(containers)
|
||||
|
||||
source_data = self.get_container_data(source_container["objectName"])
|
||||
source_data = self.get_container_data(source_object)
|
||||
matches = []
|
||||
node_types = []
|
||||
for target_container in target_containers:
|
||||
|
|
@ -80,7 +80,7 @@ class ConnectGeometry(InventoryAction):
|
|||
self.display_warning("No matching geometries found.")
|
||||
return
|
||||
|
||||
message = "Linking geometries:\n\n"
|
||||
message = "Connecting geometries:\n\n"
|
||||
for match in matches:
|
||||
message += "{} > {}\n".format(match[0], match[1])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue