forked from bartvdbraak/blender
[#17703] Segfault on fluid activation.
This commit is contained in:
parent
3996b82b50
commit
45035f10ec
@ -420,6 +420,10 @@ LbmFsgrSolver::handleCpdata()
|
||||
return;
|
||||
}
|
||||
|
||||
// check if we have control objects
|
||||
if(mpControl->mCons.size()==0)
|
||||
return;
|
||||
|
||||
if((mpControl->mCpUpdateInterval<1) || (this->mStepCnt%mpControl->mCpUpdateInterval==0)) {
|
||||
// do full reinit later on...
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user