adding icon for non-uniform scale component

This commit is contained in:
greerdv
2021-05-05 13:10:01 +01:00
parent cd93df4ca8
commit e1f7d04bc2
2 changed files with 29 additions and 0 deletions
@@ -41,6 +41,8 @@ namespace AzToolsFramework
->ClassElement(AZ::Edit::ClassElements::EditorData, "")
->Attribute(AZ::Edit::Attributes::RemoveableByUser, true)
->Attribute(AZ::Edit::Attributes::DraggableByUser, false)
->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/NonUniformScale.svg")
->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/NonUniformScale.svg")
->DataElement(
AZ::Edit::UIHandlers::Default, &EditorNonUniformScaleComponent::m_scale, "Non-uniform Scale",
"Non-uniform scale for this entity only (does not propagate through hierarchy)")