Rotation support

This commit is contained in:
Julien Duponchelle committed 2016-06-21 19:39:00 +02:00
1 parent 4f78efa0c8
commit 03e9eac55b
3 files changed
+21 -2

No files matched your search

+3 -1
View File
@@ -55,13 +55,15 @@ def test_json(project):
"x": i.x,
"y": i.y,
"z": i.z,
"svg": i.svg
"svg": i.svg,
"rotation": i.rotation
}
assert i.__json__(topology_dump=True) == {
"shape_id": i.id,
"x": i.x,
"y": i.y,
"z": i.z,
"rotation": i.rotation,
"svg": i.svg
}