Removed min/max settings that were just using the float min/max since these are the default.

Signed-off-by: Chris Galvan <chgalvan@amazon.com>
main
Chris Galvan 4 years ago
parent 86c9c04c37
commit cb069d68f0

@ -261,11 +261,7 @@ namespace EMotionFX
->Attribute(AZ::Edit::Attributes::ChangeNotify, &BlendTreeTransformNode::Reinit) ->Attribute(AZ::Edit::Attributes::ChangeNotify, &BlendTreeTransformNode::Reinit)
->Attribute(AZ::Edit::Attributes::ChangeNotify, AZ::Edit::PropertyRefreshLevels::EntireTree) ->Attribute(AZ::Edit::Attributes::ChangeNotify, AZ::Edit::PropertyRefreshLevels::EntireTree)
->DataElement(AZ::Edit::UIHandlers::Default, &BlendTreeTransformNode::m_minTranslation, "Min Translation", "The minimum translation value, used when the input translation amount equals zero.") ->DataElement(AZ::Edit::UIHandlers::Default, &BlendTreeTransformNode::m_minTranslation, "Min Translation", "The minimum translation value, used when the input translation amount equals zero.")
->Attribute(AZ::Edit::Attributes::Min, -std::numeric_limits<float>::max())
->Attribute(AZ::Edit::Attributes::Max, std::numeric_limits<float>::max())
->DataElement(AZ::Edit::UIHandlers::Default, &BlendTreeTransformNode::m_maxTranslation, "Max Translation", "The maximum translation value, used when the input translation amount equals one.") ->DataElement(AZ::Edit::UIHandlers::Default, &BlendTreeTransformNode::m_maxTranslation, "Max Translation", "The maximum translation value, used when the input translation amount equals one.")
->Attribute(AZ::Edit::Attributes::Min, -std::numeric_limits<float>::max())
->Attribute(AZ::Edit::Attributes::Max, std::numeric_limits<float>::max())
->DataElement(AZ::Edit::UIHandlers::Default, &BlendTreeTransformNode::m_minRotation, "Min Rotation", "The minimum rotation value, in degrees, used when the input rotation amount equals zero.") ->DataElement(AZ::Edit::UIHandlers::Default, &BlendTreeTransformNode::m_minRotation, "Min Rotation", "The minimum rotation value, in degrees, used when the input rotation amount equals zero.")
->Attribute(AZ::Edit::Attributes::Min, -360.0f) ->Attribute(AZ::Edit::Attributes::Min, -360.0f)
->Attribute(AZ::Edit::Attributes::Max, 360.0f) ->Attribute(AZ::Edit::Attributes::Max, 360.0f)
@ -273,11 +269,7 @@ namespace EMotionFX
->Attribute(AZ::Edit::Attributes::Min, -360.0f) ->Attribute(AZ::Edit::Attributes::Min, -360.0f)
->Attribute(AZ::Edit::Attributes::Max, 360.0f) ->Attribute(AZ::Edit::Attributes::Max, 360.0f)
->DataElement(AZ::Edit::UIHandlers::Default, &BlendTreeTransformNode::m_minScale, "Min Scale", "The minimum scale value, used when the input scale amount equals zero.") ->DataElement(AZ::Edit::UIHandlers::Default, &BlendTreeTransformNode::m_minScale, "Min Scale", "The minimum scale value, used when the input scale amount equals zero.")
->Attribute(AZ::Edit::Attributes::Min, -std::numeric_limits<float>::max())
->Attribute(AZ::Edit::Attributes::Max, std::numeric_limits<float>::max())
->DataElement(AZ::Edit::UIHandlers::Default, &BlendTreeTransformNode::m_maxScale, "Max Scale", "The maximum scale value, used when the input scale amount equals one.") ->DataElement(AZ::Edit::UIHandlers::Default, &BlendTreeTransformNode::m_maxScale, "Max Scale", "The maximum scale value, used when the input scale amount equals one.")
->Attribute(AZ::Edit::Attributes::Min, -std::numeric_limits<float>::max())
->Attribute(AZ::Edit::Attributes::Max, std::numeric_limits<float>::max())
; ;
} }
} // namespace EMotionFX } // namespace EMotionFX

@ -254,8 +254,6 @@ namespace EMotionFX
->EnumAttribute(MATHFUNCTION_DIVIDE, "Divide") ->EnumAttribute(MATHFUNCTION_DIVIDE, "Divide")
->EnumAttribute(MATHFUNCTION_ANGLEDEGREES, "AngleDegrees") ->EnumAttribute(MATHFUNCTION_ANGLEDEGREES, "AngleDegrees")
->DataElement(AZ::Edit::UIHandlers::Default, &BlendTreeVector3Math2Node::m_defaultValue, "Default Value", "The default value for x or y when one of them has no incomming connection.") ->DataElement(AZ::Edit::UIHandlers::Default, &BlendTreeVector3Math2Node::m_defaultValue, "Default Value", "The default value for x or y when one of them has no incomming connection.")
->Attribute(AZ::Edit::Attributes::Min, -std::numeric_limits<float>::max())
->Attribute(AZ::Edit::Attributes::Max, std::numeric_limits<float>::max())
; ;
} }
} // namespace EMotionFX } // namespace EMotionFX

Loading…
Cancel
Save