summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
Diffstat (limited to 'filter')
-rw-r--r--filter/source/svg/presentation_engine.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/filter/source/svg/presentation_engine.js b/filter/source/svg/presentation_engine.js
index 95493607c41c..150510446324 100644
--- a/filter/source/svg/presentation_engine.js
+++ b/filter/source/svg/presentation_engine.js
@@ -9647,6 +9647,7 @@ function NodeContext( aSlideShowContext )
this.aSourceEventElementMap = null;
this.nStartDelay = 0.0;
this.bFirstRun = undefined;
+ this.bIsInvalid = false;
this.aSlideHeight = HEIGHT;
this.aSlideWidth = WIDTH;
}
@@ -9919,7 +9920,7 @@ BaseNode.prototype.init = function()
BaseNode.prototype.resolve = function()
{
- if( ! this.checkValidNode() )
+ if( this.aNodeContext.bIsInvalid || ! this.checkValidNode() )
return false;
this.DBG( this.callInfo( 'resolve' ) );
@@ -15212,7 +15213,8 @@ SlideAnimations.prototype.start = function()
this.aContext.bFirstRun = false;
// init all nodes
- if( !this.aRootNode.init() )
+ this.aContext.bIsInvalid = !this.aRootNode.init();
+ if( this.aContext.bIsInvalid )
return false;
// resolve root node
@@ -15240,6 +15242,7 @@ SlideAnimations.prototype.end = function( bLeftEffectsSkipped )
this.aContext.bFirstRun = false;
}
+ this.aContext.bIsInvalid = false;
};
SlideAnimations.prototype.dispose = function()