Skip to content

Commit f7c1116

Browse files
committed
Set parent of new track arrays
1 parent 7581f72 commit f7c1116

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/yySequence.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1857,6 +1857,7 @@ function yySequenceBaseTrack(_pStorage) {
18571857
{
18581858
if(_val instanceof Array)
18591859
{
1860+
_val.forEach(_track => { _track.m_parent = this; });
18601861
this.m_tracks = _val;
18611862
}
18621863
else
@@ -4058,6 +4059,7 @@ function yySequence(_pStorage) {
40584059
{
40594060
if(_val instanceof Array)
40604061
{
4062+
_val.forEach(_track => { _track.m_parent = this; });
40614063
this.m_tracks = _val;
40624064
}
40634065
else

0 commit comments

Comments
 (0)