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

@@ -247,7 +247,7 @@ pub fn create_input_handler_flex(
}
let info: CreateInputHandlerInfo = deserialize(data)?;
let parent = find_spatial_parent(&calling_client, info.parent_path)?;
let transform = parse_transform(info.transform, true, true, true)?;
let transform = parse_transform(info.transform, true, true, true);
let field = find_field(&calling_client, info.field_path)?;
let node = Node::create(&calling_client, "/input/handler", info.name, true).add_to_scenegraph();