@@ -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
@@ -53,8 +53,8 @@ void ArticulatedObjectAttributes::writeValuesToJson(
5353 writeValueToJson (" urdf_filepath" , jsonObj, allocator);
5454 writeValueToJson (" render_asset" , jsonObj, allocator);
5555 writeValueToJson (" semantic_id" , jsonObj, allocator);
56- if (getUniformScale () != 1 . 0f ) {
57- writeValueToJson (" uniform_scale " , jsonObj, allocator);
56+ if (getScale () != Mn::Vector3 ( 1.0 , 1.0 , 1.0 ) ) {
57+ writeValueToJson (" scale " , jsonObj, allocator);
5858 }
5959 if (getMassScale () != 1.0 ) {
6060 writeValueToJson (" mass_scale" , jsonObj, allocator);
@@ -67,14 +67,14 @@ void ArticulatedObjectAttributes::writeValuesToJson(
6767} // ArticulatedObjectAttributes::writeValuesToJson
6868
6969std::string ArticulatedObjectAttributes::getObjectInfoHeaderInternal () const {
70- return " URDF Filepath,Render Asset,Semantic ID,Uniform Scale,Mass Scale,Base "
70+ return " URDF Filepath,Render Asset,Semantic ID,Scale,Mass Scale,Base "
7171 " Type,Inertia Source,Link Order,Render Mode,Current Shader Type," ;
7272} // ArticulatedObjectAttributes::getObjectInfoHeaderInternal
7373
7474std::string ArticulatedObjectAttributes::getObjectInfoInternal () const {
7575 return Cr::Utility::formatString (
7676 " {},{},{},{},{},{},{},{},{},{}" , getURDFPath (), getRenderAssetHandle (),
77- getAsString (" semantic_id" ), getAsString (" uniform_scale " ),
77+ getAsString (" semantic_id" ), getAsString (" scale " ),
7878 getAsString (" mass_scale" ), getAOBaseTypeName (getBaseType ()),
7979 getAOInertiaSourceName (getInertiaSource ()),
8080 getAOLinkOrderName (getLinkOrder ()), getAORenderModeName (getRenderMode ()),
0 commit comments