mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
more torquescript template fixes.
This commit is contained in:
parent
6f7fdca87d
commit
b2bbd771f6
54 changed files with 122 additions and 99 deletions
|
|
@ -1439,6 +1439,8 @@ function ShapeEdPropWindow::update_onSequenceBlendChanged( %this, %seqName, %ble
|
|||
%proxyName = ShapeEditor.getProxyName( %seqName );
|
||||
if ( ShapeEditor.shape.getSequenceIndex( %proxyName ) != -1 )
|
||||
{
|
||||
//TODO
|
||||
%oldBlend = false;
|
||||
if ( %blend && %oldBlend )
|
||||
ShapeEditor.shape.setSequenceBlend( %proxyName, false, %oldBlendSeq, %oldBlendFrame );
|
||||
ShapeEditor.shape.setSequenceBlend( %proxyName, %blend, %blendSeq, %blendFrame );
|
||||
|
|
@ -2217,7 +2219,7 @@ function ShapeEdTriggerList::updateItem( %this, %oldFrame, %oldState, %frame, %s
|
|||
if ( %frame != %oldFrame )
|
||||
{
|
||||
%pos = ShapeEdAnimWindow.getTimelineBitmapPos( ShapeEdAnimWindow-->seqIn.getText() + %frame, 2 );
|
||||
eval( "%ctrl = ShapeEdAnimWindow-->trigger" @ %updatedId @ ";" );
|
||||
%ctrl = eval( "return ShapeEdAnimWindow-->trigger" @ %updatedId @ ";" );
|
||||
%ctrl.position = %pos SPC "0";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue