Merge branch 'development' into Atom/guthadam/thumbnail_and_preview_refactor

This commit is contained in:
Guthrie Adams
2021-10-13 20:37:36 -05:00
156 changed files with 3978 additions and 1140 deletions
@@ -175,6 +175,10 @@ namespace AZ
void GridComponentController::OnBeginPrepareRender()
{
auto* auxGeomFP = AZ::RPI::Scene::GetFeatureProcessorForEntity<AZ::RPI::AuxGeomFeatureProcessorInterface>(m_entityId);
if (!auxGeomFP)
{
return;
}
if (auto auxGeom = auxGeomFP->GetDrawQueue())
{
BuildGrid();
@@ -532,9 +532,9 @@ namespace AZ
{
if (IsInstanceNodePropertyModifed(node))
{
return ":/PropertyEditor/Resources/changed_data_item.png";
return ":/Icons/changed_property.svg";
}
return ":/PropertyEditor/Resources/blank.png";
return ":/Icons/blank.png";
}
bool MaterialPropertyInspector::SaveMaterial() const
@@ -65,7 +65,7 @@ namespace AZ
m_featureProcessorInterface = RPI::Scene::GetFeatureProcessorForEntity<SkyBoxFeatureProcessorInterface>(entityId);
// only activate if there is no other skybox activate
if (!m_featureProcessorInterface->IsEnabled())
if (m_featureProcessorInterface && !m_featureProcessorInterface->IsEnabled())
{
m_featureProcessorInterface->SetSkyboxMode(SkyBoxMode::Cubemap);
m_featureProcessorInterface->Enable(true);