data thing

This commit is contained in:
Quaternions 2025-01-29 12:34:53 -08:00
parent fef16b4721
commit b2d035bd24

@ -733,13 +733,22 @@ where
let mut mesh_data=None;
let mut physics_data=None;
if let Some(rbx_dom_weak::types::Variant::Content(content))=object.properties.get("AssetId"){
asset_id=Some(content.as_ref());
let value:&str=content.as_ref();
if !value.is_empty(){
asset_id=Some(value);
}
}
if let Some(rbx_dom_weak::types::Variant::BinaryString(data))=object.properties.get("MeshData"){
mesh_data=Some(data.as_ref());
let value:&[u8]=data.as_ref();
if !value.is_empty(){
mesh_data=Some(value);
}
}
if let Some(rbx_dom_weak::types::Variant::BinaryString(data))=object.properties.get("PhysicsData"){
physics_data=Some(data.as_ref());
let value:&[u8]=data.as_ref();
if !value.is_empty(){
physics_data=Some(value);
}
}
let part_texture_description=get_texture_description(&mut temp_objects,&mut acquire_render_config_id,dom,object,size);
let union_deferred_attributes=UnionDeferredAttributes{