@@ -36,7 +36,7 @@ ArticulatedObjectAttributes::ArticulatedObjectAttributes(
3636 initTranslated (" shader_type" ,
3737 getShaderTypeName (ObjectInstanceShaderType::Material));
3838
39- init (" uniform_scale " , 1 . 0f );
39+ init (" scale " , Mn::Vector3{ 1.0 , 1.0 , 1.0 } );
4040 init (" mass_scale" , 1.0 );
4141
4242 // Initialize these so they exist in the configuration
@@ -56,8 +56,8 @@ void ArticulatedObjectAttributes::writeValuesToJson(
5656 writeValueToJson (" urdf_filepath" , jsonObj, allocator);
5757 writeValueToJson (" render_asset" , jsonObj, allocator);
5858 writeValueToJson (" semantic_id" , jsonObj, allocator);
59- if (getUniformScale () != 1 . 0f ) {
60- writeValueToJson (" uniform_scale " , jsonObj, allocator);
59+ if (getScale () != Mn::Vector3 ( 1.0 , 1.0 , 1.0 ) ) {
60+ writeValueToJson (" scale " , jsonObj, allocator);
6161 }
6262 if (getMassScale () != 1.0 ) {
6363 writeValueToJson (" mass_scale" , jsonObj, allocator);
@@ -70,14 +70,14 @@ void ArticulatedObjectAttributes::writeValuesToJson(
7070} // ArticulatedObjectAttributes::writeValuesToJson
7171
7272std::string ArticulatedObjectAttributes::getObjectInfoHeaderInternal () const {
73- return " URDF Filepath,Render Asset,Semantic ID,Uniform Scale,Mass Scale,Base "
73+ return " URDF Filepath,Render Asset,Semantic ID,Scale,Mass Scale,Base "
7474 " Type,Inertia Source,Link Order,Render Mode,Current Shader Type," ;
7575} // ArticulatedObjectAttributes::getObjectInfoHeaderInternal
7676
7777std::string ArticulatedObjectAttributes::getObjectInfoInternal () const {
7878 return Cr::Utility::formatString (
7979 " {},{},{},{},{},{},{},{},{},{}" , getURDFPath (), getRenderAssetHandle (),
80- getAsString (" semantic_id" ), getAsString (" uniform_scale " ),
80+ getAsString (" semantic_id" ), getAsString (" scale " ),
8181 getAsString (" mass_scale" ), getAOBaseTypeName (getBaseType ()),
8282 getAOInertiaSourceName (getInertiaSource ()),
8383 getAOLinkOrderName (getLinkOrder ()), getAORenderModeName (getRenderMode ()),
0 commit comments