0 Replies Latest reply on Jan 10, 2010 8:25 PM by Chet Haase

    [svn:fx-4.0.0] 13411: Fixed RTE with BitmapUtil.getSnapshot().

    Chet Haase Level 3

      Revision: 13411

      Revision: 13411

      Author:   chaase@adobe.com

      Date:     2010-01-10 20:24:16 -0800 (Sun, 10 Jan 2010)

      Log Message:

      ***********

      Fixed RTE with BitmapUtil.getSnapshot(). We were not detecting cases of empty/transparent target objects and the capture logic would keep creating successively larger bitmaps in a vain attempt to capture the nontransparent bits. The fix was easy - objects with 0-dimension visual bounds should return null for the bitmap.

       

      QE notes: None

      Doc notes: None

      Bugs: sdk-24969

      Reviewer: Jason

      Tests run: checkintests, Mustella spark/effects/Wipe|CrossFade|AnimateShaderTransition

      Is noteworthy for integration: No

       

      Ticket Links:

      ***********

          http://bugs.adobe.com/jira/browse/sdk-24969

       

      Modified Paths:

      **************

          flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/utils/BitmapUtil.as