Gems/EMotionFX
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -73,7 +73,6 @@ namespace EMotionFX
|
||||
|
||||
// Select the transition in the anim graph model.
|
||||
const QModelIndex& modelIndex = animGraphModel.FindFirstModelIndex(transition);
|
||||
const EMStudio::AnimGraphModel::ModelItemType itemType = modelIndex.data(EMStudio::AnimGraphModel::ROLE_MODEL_ITEM_TYPE).value<EMStudio::AnimGraphModel::ModelItemType>();
|
||||
ASSERT_TRUE(modelIndex.isValid()) << "Anim graph transition has an invalid model index.";
|
||||
animGraphModel.GetSelectionModel().select(QItemSelection(modelIndex, modelIndex), QItemSelectionModel::Current | QItemSelectionModel::ClearAndSelect | QItemSelectionModel::Rows);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user