mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
afxEffectWrapper membervar cleanup
This commit is contained in:
parent
0df2cf1b9d
commit
b6076c55dd
36 changed files with 531 additions and 533 deletions
|
|
@ -91,10 +91,10 @@ bool afxEA_ScriptEvent::ea_start()
|
|||
|
||||
bool afxEA_ScriptEvent::ea_update(F32 dt)
|
||||
{
|
||||
if (!ran_script && choreographer != NULL)
|
||||
if (!ran_script && mChoreographer != NULL)
|
||||
{
|
||||
afxConstraint* pos_constraint = getPosConstraint();
|
||||
choreographer->executeScriptEvent(script_data->method_name, pos_constraint, updated_xfm,
|
||||
mChoreographer->executeScriptEvent(script_data->method_name, pos_constraint, mUpdated_xfm,
|
||||
script_data->script_data);
|
||||
ran_script = true;
|
||||
}
|
||||
|
|
@ -115,7 +115,7 @@ void afxEA_ScriptEvent::do_runtime_substitutions()
|
|||
// clone the datablock and perform substitutions
|
||||
afxScriptEventData* orig_db = script_data;
|
||||
script_data = new afxScriptEventData(*orig_db, true);
|
||||
orig_db->performSubstitutions(script_data, choreographer, group_index);
|
||||
orig_db->performSubstitutions(script_data, mChoreographer, mGroup_index);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue