aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.AnimatedGif
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-03-20 16:23:17 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-03-20 16:23:17 +0200
commitdb9308c46379fb324678ba04771dbee4edae4b17 (patch)
treea443967e7baeff8924e1aeb85ff4de3b5050510a /Software/Visual_Studio/Tango.AnimatedGif
parent88ac356fd2d30e016bb884697e7b67f8ede51d2b (diff)
downloadTango-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.cs6
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;