Merge branch 'development' into Atom/guthadam/thumbnail_and_preview_refactor
This commit is contained in:
@@ -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();
|
||||
|
||||
+2
-2
@@ -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
|
||||
|
||||
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user