fix(spatial): parse_transform returned result

This commit is contained in:
Nova
2023-01-25 05:40:19 -05:00
parent 2b97c98a6e
commit 2f894c4058
13 changed files with 16 additions and 25 deletions

View File

@@ -157,7 +157,7 @@ pub fn create_zone_flex(_node: &Node, calling_client: Arc<Client>, data: &[u8])
}
let info: CreateZoneInfo = deserialize(data)?;
let parent = find_spatial_parent(&calling_client, info.parent_path)?;
let transform = parse_transform(info.transform, true, true, false)?;
let transform = parse_transform(info.transform, true, true, false);
let field = find_field(&calling_client, info.field_path)?;
let node = Node::create(&calling_client, "/spatial/zone", info.name, true).add_to_scenegraph();