|
@@ -437,6 +437,7 @@ class Model extends FileView {
|
|
}
|
|
}
|
|
|
|
|
|
function setAnimation( file : String ) {
|
|
function setAnimation( file : String ) {
|
|
|
|
+ scene.setCurrent();
|
|
if( timeline != null ) {
|
|
if( timeline != null ) {
|
|
timeline.remove();
|
|
timeline.remove();
|
|
timeline = null;
|
|
timeline = null;
|
|
@@ -481,6 +482,7 @@ class Model extends FileView {
|
|
}
|
|
}
|
|
|
|
|
|
function buildTimeline() {
|
|
function buildTimeline() {
|
|
|
|
+ scene.setCurrent();
|
|
if( timeline != null ) {
|
|
if( timeline != null ) {
|
|
timeline.remove();
|
|
timeline.remove();
|
|
timeline = null;
|
|
timeline = null;
|