Fixed, Crash when trying to animate a model that doesn't contain animations
This commit is contained in:
@@ -42,6 +42,7 @@ struct ModelJob : RenderJob
|
||||
|
||||
FillColor = fillColor;
|
||||
FillPercentage = fillPercentage;
|
||||
|
||||
Skeleton = Model->m_RawModel->m_Skeleton;
|
||||
|
||||
if (world->HasComponent(Entity, "Animation") && Skeleton != nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user