mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-17 04:51:10 +00:00
add layout serializer & converter
This commit is contained in:
@@ -342,6 +342,7 @@ class ResourceTreeSet(object):
|
||||
pos = {
|
||||
"size": {"width": d["size_x"], "height": d["size_y"], "depth": d["size_z"]},
|
||||
"scale": {"x": 1.0, "y": 1.0, "z": 1.0},
|
||||
"layout": d.get("layout", "x-y"),
|
||||
"position": raw_pos,
|
||||
"position3d": raw_pos,
|
||||
"rotation": d["rotation"],
|
||||
|
||||
Reference in New Issue
Block a user