@@ -35,7 +35,7 @@ ArticulatedObjectAttributes::ArticulatedObjectAttributes(
3535 initTranslated (" shader_type" ,
3636 getShaderTypeName (ObjectInstanceShaderType::Material));
3737
38- init (" uniform_scale " , 1 . 0f );
38+ init (" scale " , Mn::Vector3{ 1.0 , 1.0 , 1.0 } );
3939 init (" mass_scale" , 1.0 );
4040
4141 // Initialize these so they exist in the configuration
@@ -52,8 +52,8 @@ void ArticulatedObjectAttributes::writeValuesToJson(
5252 writeValueToJson (" urdf_filepath" , jsonObj, allocator);
5353 writeValueToJson (" render_asset" , jsonObj, allocator);
5454 writeValueToJson (" semantic_id" , jsonObj, allocator);
55- if (getUniformScale () != 1 . 0f ) {
56- writeValueToJson (" uniform_scale " , jsonObj, allocator);
55+ if (getScale () != Mn::Vector3 ( 1.0 , 1.0 , 1.0 ) ) {
56+ writeValueToJson (" scale " , jsonObj, allocator);
5757 }
5858 if (getMassScale () != 1.0 ) {
5959 writeValueToJson (" mass_scale" , jsonObj, allocator);
@@ -66,14 +66,14 @@ void ArticulatedObjectAttributes::writeValuesToJson(
6666} // ArticulatedObjectAttributes::writeValuesToJson
6767
6868std::string ArticulatedObjectAttributes::getObjectInfoHeaderInternal () const {
69- return " URDF Filepath,Render Asset,Semantic ID,Uniform Scale,Mass Scale,Base "
69+ return " URDF Filepath,Render Asset,Semantic ID,Scale,Mass Scale,Base "
7070 " Type,Inertia Source,Link Order,Render Mode,Current Shader Type," ;
7171} // ArticulatedObjectAttributes::getObjectInfoHeaderInternal
7272
7373std::string ArticulatedObjectAttributes::getObjectInfoInternal () const {
7474 return Cr::Utility::formatString (
7575 " {},{},{},{},{},{},{},{},{},{}" , getURDFPath (), getRenderAssetHandle (),
76- getAsString (" semantic_id" ), getAsString (" uniform_scale " ),
76+ getAsString (" semantic_id" ), getAsString (" scale " ),
7777 getAsString (" mass_scale" ), getAOBaseTypeName (getBaseType ()),
7878 getAOInertiaSourceName (getInertiaSource ()),
7979 getAOLinkOrderName (getLinkOrder ()), getAORenderModeName (getRenderMode ()),
0 commit comments