Fix clang 13 compilation problems (#5791)
* Fix clang 13 compilation problems Re-instated ShowPlayedSequencesDebug logic by introducing no-op lambda which replaces missing `Draw2dLabel` functionality ( added TODO marker there ) Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com> * apply review suggestions Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com> * Fix type in assert message Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
This commit is contained in:
@@ -276,6 +276,11 @@ namespace GraphCanvas
|
||||
m_subTitleWidget->SetLabel(subtitle);
|
||||
updateLayout = true;
|
||||
}
|
||||
|
||||
if (updateLayout)
|
||||
{
|
||||
UpdateLayout();
|
||||
}
|
||||
}
|
||||
|
||||
void GeneralNodeTitleGraphicsWidget::SetTitle(const AZStd::string& title)
|
||||
@@ -463,13 +468,6 @@ namespace GraphCanvas
|
||||
{
|
||||
GRAPH_CANVAS_DETAILED_PROFILE_FUNCTION();
|
||||
|
||||
Styling::PaletteStyle style = m_styleHelper.GetAttribute(Styling::Attribute::PaletteStyle, Styling::PaletteStyle::Solid);
|
||||
|
||||
if (m_paletteOverride)
|
||||
{
|
||||
style = m_paletteOverride->GetAttribute(Styling::Attribute::PaletteStyle, Styling::PaletteStyle::Solid);
|
||||
}
|
||||
|
||||
// Background
|
||||
QRectF bounds = boundingRect();
|
||||
|
||||
|
||||
+3
-5
@@ -188,9 +188,7 @@ namespace GraphCanvas
|
||||
void GeneralSlotLayoutGraphicsWidget::LinearSlotGroupWidget::DisplaySlot(const AZ::EntityId& slotId)
|
||||
{
|
||||
ConnectionType connectionType = ConnectionType::CT_Invalid;
|
||||
SlotRequestBus::EventResult(connectionType, slotId, &SlotRequests::GetConnectionType);
|
||||
|
||||
int layoutOrder = 0;
|
||||
SlotRequestBus::EventResult(connectionType, slotId, &SlotRequests::GetConnectionType);
|
||||
|
||||
SlotLayoutInfo slotInfo(slotId);
|
||||
|
||||
@@ -199,14 +197,14 @@ namespace GraphCanvas
|
||||
SlotUINotificationBus::MultiHandler::BusConnect(slotId);
|
||||
|
||||
m_inputSlotSet.insert(slotId);
|
||||
layoutOrder = LayoutSlot(m_inputs, m_inputSlots, slotInfo);
|
||||
LayoutSlot(m_inputs, m_inputSlots, slotInfo);
|
||||
}
|
||||
else if (connectionType == CT_Output)
|
||||
{
|
||||
SlotUINotificationBus::MultiHandler::BusConnect(slotId);
|
||||
|
||||
m_outputSlotSet.insert(slotId);
|
||||
LayoutSlot(m_outputs, m_outputSlots, slotInfo);
|
||||
LayoutSlot(m_outputs, m_outputSlots, slotInfo);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user