mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-28 19:13:47 +00:00
added checks for valid pointers after locking
This commit is contained in:
parent
95ef5ec226
commit
53abbe066d
13 changed files with 39 additions and 10 deletions
|
|
@ -76,6 +76,8 @@ void TSForestCellBatch::_rebuildBatch()
|
|||
|
||||
// Fill this puppy!
|
||||
ImposterState *vertPtr = mVB.lock();
|
||||
if(!vertPtr) return;
|
||||
|
||||
Vector<ForestItem>::const_iterator item = mItems.begin();
|
||||
|
||||
const F32 radius = mDetail->getRadius();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue