mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-24 05:45:40 +00:00
afxEffectWrapper membervar cleanup
This commit is contained in:
parent
0df2cf1b9d
commit
b6076c55dd
36 changed files with 531 additions and 533 deletions
|
|
@ -207,12 +207,12 @@ bool afxEA_T3DSpotLight::ea_update(F32 dt)
|
|||
light->setConstraintObject(cons_obj);
|
||||
#endif
|
||||
|
||||
light->setLiveColor(updated_color);
|
||||
light->setLiveColor(mUpdated_color);
|
||||
|
||||
if (do_fades)
|
||||
light->setFadeAmount(fade_value);
|
||||
if (mDo_fades)
|
||||
light->setFadeAmount(mFade_value);
|
||||
|
||||
light->updateTransform(updated_xfm);
|
||||
light->updateTransform(mUpdated_xfm);
|
||||
|
||||
// scale should not be updated this way. It messes up the culling.
|
||||
//light->setScale(updated_scale);
|
||||
|
|
@ -258,7 +258,7 @@ void afxEA_T3DSpotLight::do_runtime_substitutions()
|
|||
// clone the datablock and perform substitutions
|
||||
afxT3DSpotLightData* orig_db = light_data;
|
||||
light_data = new afxT3DSpotLightData(*orig_db, true);
|
||||
orig_db->performSubstitutions(light_data, choreographer, group_index);
|
||||
orig_db->performSubstitutions(light_data, mChoreographer, mGroup_index);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue