Deprecate profiler categories based on global enum
(to be supplanted by registered budgets in the future) Signed-off-by: Jeremy Ong <jcong@amazon.com>
This commit is contained in:
@@ -40,7 +40,7 @@ namespace AZ
|
||||
|
||||
void ManifestWidget::BuildFromScene(const AZStd::shared_ptr<Containers::Scene>& scene)
|
||||
{
|
||||
AZ_PROFILE_FUNCTION(AZ::Debug::ProfileCategory::Editor);
|
||||
AZ_PROFILE_FUNCTION(Editor);
|
||||
ui->m_tabs->clear();
|
||||
m_pages.clear();
|
||||
|
||||
@@ -80,7 +80,7 @@ namespace AZ
|
||||
|
||||
bool ManifestWidget::AddObject(const AZStd::shared_ptr<DataTypes::IManifestObject>& object)
|
||||
{
|
||||
AZ_PROFILE_FUNCTION(AZ::Debug::ProfileCategory::Editor);
|
||||
AZ_PROFILE_FUNCTION(Editor);
|
||||
for (ManifestWidgetPage* page : m_pages)
|
||||
{
|
||||
if (page->SupportsType(object))
|
||||
|
||||
@@ -76,7 +76,7 @@ namespace AZ
|
||||
|
||||
bool ManifestWidgetPage::AddObject(const AZStd::shared_ptr<DataTypes::IManifestObject>& object)
|
||||
{
|
||||
AZ_PROFILE_FUNCTION(AZ::Debug::ProfileCategory::Editor);
|
||||
AZ_PROFILE_FUNCTION(Editor);
|
||||
if (!SupportsType(object))
|
||||
{
|
||||
return false;
|
||||
@@ -218,7 +218,7 @@ namespace AZ
|
||||
|
||||
void ManifestWidgetPage::RefreshPage()
|
||||
{
|
||||
AZ_PROFILE_FUNCTION(AZ::Debug::ProfileCategory::Editor);
|
||||
AZ_PROFILE_FUNCTION(Editor);
|
||||
m_propertyEditor->InvalidateAll();
|
||||
m_propertyEditor->ExpandAll();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user