forked from teamnwah/openmw-tes3coop
Bug #1054: Set render queue group for effects
This commit is contained in:
parent
1c60a781a5
commit
d262d9e6b0
1 changed files with 4 additions and 0 deletions
|
@ -1027,6 +1027,10 @@ void Animation::addEffect(const std::string &model, int effectId, bool loop, con
|
|||
params.mObjects = NifOgre::Loader::createObjects(mInsert, model);
|
||||
else
|
||||
params.mObjects = NifOgre::Loader::createObjects(mSkelBase, bonename, mInsert, model);
|
||||
|
||||
setRenderProperties(params.mObjects, RV_Misc,
|
||||
RQG_Main, RQG_Alpha, 0.f, false, NULL);
|
||||
|
||||
params.mLoop = loop;
|
||||
params.mEffectId = effectId;
|
||||
params.mBoneName = bonename;
|
||||
|
|
Loading…
Reference in a new issue