Update
This commit is contained in:
@@ -214,8 +214,8 @@ void SMatrixInputWidget::UpdateUI()
|
||||
int32 Index = Row * 4 + Col;
|
||||
if (NumericEntryBoxes.IsValidIndex(Index) && NumericEntryBoxes[Index].IsValid())
|
||||
{
|
||||
// Set value using TOptional<float> instead of SetText or SetValue
|
||||
NumericEntryBoxes[Index]->SetValue(TOptional<float>(Matrix.M[Row][Col]));
|
||||
// In UE5.5.4, we need to rebuild the grid panel to update the value
|
||||
NumericEntryBoxes[Index] = CreateMatrixElementWidget(Row, Col);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user