fixed issue with nod emobility location calculations being forced to use ints

This commit is contained in:
Blake Harnden 2019-11-27 09:05:37 -08:00
parent af9915191d
commit 8b7d651d06
3 changed files with 3 additions and 9 deletions

View file

@ -26,8 +26,8 @@ def convert_node(node_data):
(NodeTlvs.EMULATION_ID, node_data.emulation_id),
(NodeTlvs.EMULATION_SERVER, node_data.server),
(NodeTlvs.SESSION, node_data.session),
(NodeTlvs.X_POSITION, node_data.x_position),
(NodeTlvs.Y_POSITION, node_data.y_position),
(NodeTlvs.X_POSITION, int(node_data.x_position)),
(NodeTlvs.Y_POSITION, int(node_data.y_position)),
(NodeTlvs.CANVAS, node_data.canvas),
(NodeTlvs.NETWORK_ID, node_data.network_id),
(NodeTlvs.SERVICES, node_data.services),