diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-03-20 16:23:17 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-03-20 16:23:17 +0200 |
| commit | db9308c46379fb324678ba04771dbee4edae4b17 (patch) | |
| tree | a443967e7baeff8924e1aeb85ff4de3b5050510a /Software/Visual_Studio/Tango.AnimatedGif | |
| parent | 88ac356fd2d30e016bb884697e7b67f8ede51d2b (diff) | |
| download | Tango-db9308c46379fb324678ba04771dbee4edae4b17.tar.gz Tango-db9308c46379fb324678ba04771dbee4edae4b17.zip | |
working on PPC Technician module .
Diffstat (limited to 'Software/Visual_Studio/Tango.AnimatedGif')
| -rw-r--r-- | Software/Visual_Studio/Tango.AnimatedGif/ImageBehavior.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Software/Visual_Studio/Tango.AnimatedGif/ImageBehavior.cs b/Software/Visual_Studio/Tango.AnimatedGif/ImageBehavior.cs index a159106e6..cc13688ff 100644 --- a/Software/Visual_Studio/Tango.AnimatedGif/ImageBehavior.cs +++ b/Software/Visual_Studio/Tango.AnimatedGif/ImageBehavior.cs @@ -573,10 +573,8 @@ namespace Tango.AnimatedGif animation.RepeatBehavior = GetActualRepeatBehavior(imageControl, decoder, gifMetadata); - //Removed animation cache for PPC AsyncAdornerControl! - - //AnimationCache.AddAnimation(source, GetRepeatBehavior(imageControl), animation); - //AnimationCache.IncrementReferenceCount(source, GetRepeatBehavior(imageControl)); + AnimationCache.AddAnimation(source, GetRepeatBehavior(imageControl), animation); + AnimationCache.IncrementReferenceCount(source, GetRepeatBehavior(imageControl)); return animation; } return null; |
