fixed issue with nod emobility location calculations being forced to use ints
This commit is contained in:
parent
af9915191d
commit
8b7d651d06
3 changed files with 3 additions and 9 deletions
|
@ -811,12 +811,6 @@ class WayPointMobility(WirelessModel):
|
|||
:param z: z position
|
||||
:return: nothing
|
||||
"""
|
||||
if x is not None:
|
||||
x = int(x)
|
||||
if y is not None:
|
||||
y = int(y)
|
||||
if z is not None:
|
||||
z = int(z)
|
||||
node.position.set(x, y, z)
|
||||
node_data = node.data(message_type=0)
|
||||
self.session.broadcast_node(node_data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue