mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
afxEffectWrapper membervar cleanup
This commit is contained in:
parent
0df2cf1b9d
commit
b6076c55dd
36 changed files with 531 additions and 533 deletions
|
|
@ -203,12 +203,12 @@ bool afxEA_T3DPointLight::ea_update(F32 dt)
|
|||
light->setConstraintObject(cons_obj);
|
||||
#endif
|
||||
|
||||
light->setLiveColor(updated_color);
|
||||
light->setLiveColor(mUpdated_color);
|
||||
|
||||
if (do_fades)
|
||||
light->setFadeAmount(fade_value*updated_scale.x);
|
||||
if (mDo_fades)
|
||||
light->setFadeAmount(mFade_value*mUpdated_scale.x);
|
||||
|
||||
light->updateTransform(updated_xfm);
|
||||
light->updateTransform(mUpdated_xfm);
|
||||
|
||||
// scale should not be updated this way. It messes up the culling.
|
||||
//light->setScale(updated_scale);
|
||||
|
|
@ -254,7 +254,7 @@ void afxEA_T3DPointLight::do_runtime_substitutions()
|
|||
// clone the datablock and perform substitutions
|
||||
afxT3DPointLightData* orig_db = light_data;
|
||||
light_data = new afxT3DPointLightData(*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