Editor code: tidy up BOOLs,NULLs and overrides pt3.
A few 'typedefs' replaced by 'using's This shouldn't have any functional changes at all, just c++17 modernization It's a part 3 of a split #2847 Signed-off-by: Nemerle <nemerle5+git@gmail.com>
This commit is contained in:
@@ -41,7 +41,7 @@ public:
|
||||
CSmartVariable<float> mv_blendInTime;
|
||||
CSmartVariable<float> mv_blendOutTime;
|
||||
|
||||
virtual void OnCreateVars()
|
||||
void OnCreateVars() override
|
||||
{
|
||||
// Init to an invalid id
|
||||
AZ::Data::AssetId assetId;
|
||||
@@ -62,15 +62,15 @@ public:
|
||||
mv_timeScale->SetLimits(0.001f, 100.f);
|
||||
}
|
||||
|
||||
bool SupportTrackType([[maybe_unused]] const CAnimParamType& paramType, [[maybe_unused]] EAnimCurveType trackType, AnimValueType valueType) const
|
||||
bool SupportTrackType([[maybe_unused]] const CAnimParamType& paramType, [[maybe_unused]] EAnimCurveType trackType, AnimValueType valueType) const override
|
||||
{
|
||||
return valueType == AnimValueType::AssetBlend;
|
||||
}
|
||||
|
||||
virtual bool OnKeySelectionChange(CTrackViewKeyBundle& selectedKeys);
|
||||
virtual void OnUIChange(IVariable* pVar, CTrackViewKeyBundle& selectedKeys);
|
||||
bool OnKeySelectionChange(CTrackViewKeyBundle& selectedKeys) override;
|
||||
void OnUIChange(IVariable* pVar, CTrackViewKeyBundle& selectedKeys) override;
|
||||
|
||||
virtual unsigned int GetPriority() const { return 1; }
|
||||
unsigned int GetPriority() const override { return 1; }
|
||||
|
||||
static const GUID& GetClassID()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user