Skip to content

Commit dac217b

Browse files
committed
Fixed duplicated symbols error
1 parent a36734b commit dac217b

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/semantic_digital_twin/world.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -701,9 +701,6 @@ def add_connection(
701701
:param connection: The connection to add.
702702
"""
703703
connection.add_to_world(self)
704-
for dof in connection.dofs:
705-
if dof._world is None:
706-
self.add_degree_of_freedom(dof)
707704
self.add_kinematic_structure_entity(connection.parent, handle_duplicates)
708705
self.add_kinematic_structure_entity(connection.child, handle_duplicates)
709706

0 commit comments

Comments
 (0)