upload bones 😅
This commit is contained in:
parent
e2908ce0a3
commit
cc766311f7
1 changed files with 2 additions and 1 deletions
|
|
@ -7,6 +7,7 @@
|
|||
#include "engineerrors.h"
|
||||
#include "dobject.h"
|
||||
#include "bonecomponents.h"
|
||||
#include "v_video.h"
|
||||
|
||||
IQMModel::IQMModel()
|
||||
{
|
||||
|
|
@ -469,7 +470,7 @@ double IQMModel::FindFramerate(FName name)
|
|||
void IQMModel::RenderFrame(FModelRenderer* renderer, FGameTexture* skin, int frame1, int frame2, double inter, FTranslationID translation, const FTextureID* surfaceskinids, int boneStartPosition, void * act)
|
||||
{
|
||||
|
||||
renderer->SetupFrame(this, 0, 0, NumVertices, boneStartPosition);
|
||||
renderer->SetupFrame(this, 0, 0, NumVertices, boneStartPosition >= 0 ? boneStartPosition : screen->mBones->UploadBones(boneData));
|
||||
|
||||
FGameTexture* lastSkin = nullptr;
|
||||
for (unsigned i = 0; i < Meshes.Size(); i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue