AtomLyIntegration
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -58,7 +58,7 @@ namespace AZ
|
||||
{
|
||||
if (m_modelAsset.IsReady())
|
||||
{
|
||||
lodCount = m_modelAsset->GetLodCount();
|
||||
lodCount = static_cast<uint32_t>(m_modelAsset->GetLodCount());
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -66,7 +66,7 @@ namespace AZ
|
||||
Data::Instance<RPI::Model> model = Data::InstanceDatabase<RPI::Model>::Instance().Find(Data::InstanceId::CreateFromAssetId(m_modelAsset.GetId()));
|
||||
if (model)
|
||||
{
|
||||
lodCount = model->GetLodCount();
|
||||
lodCount = static_cast<uint32_t>(model->GetLodCount());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user