mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 12:54:00 +00:00
Fix reset of changed flag
This commit is contained in:
parent
1c15686353
commit
ef704db877
@ -42,6 +42,7 @@ void ViewData::reset(unsigned int frame)
|
||||
|
||||
// reset index for next frame
|
||||
mNumEntries = 0;
|
||||
mChanged = false;
|
||||
|
||||
mFrameLastUsed = frame;
|
||||
}
|
||||
@ -52,6 +53,7 @@ void ViewData::clear()
|
||||
mEntries[i].set(NULL, false);
|
||||
mNumEntries = 0;
|
||||
mFrameLastUsed = 0;
|
||||
mChanged = false;
|
||||
}
|
||||
|
||||
bool ViewData::contains(QuadTreeNode *node)
|
||||
|
Loading…
Reference in New Issue
Block a user