View Single Post
08-30-12, 07:46 AM   #319
Meorawr
A Chromatic Dragonspawn
AddOn Author - Click to view addons
Join Date: Nov 2010
Posts: 193
I've located the source of the bugs where by stacks starts off as inverted, and with the Use Ability Icon toggling itself off. It was a stupid late night mistake that I didn't notice.

Basically, take a look at these bitfields:
Lua Code:
  1. --- Flags for inverted linked displays.
  2. Metadata.DISPLAY_INVMASK     = 0x00000070;
  3. Metadata.DISPLAY_INV_AUTO    = 0x00000010;
  4. Metadata.DISPLAY_INV_MAIN    = 0x00000020;
  5. Metadata.DISPLAY_INV_SUPPORT = 0x00000040;
  6.  
  7. -- More source flags. These ones are for determining what optional services
  8. -- are enabled.
  9. Metadata.DISPLAY_OPTMASK     = 0x000000F0;
  10. Metadata.DISPLAY_OPT_STACKS  = 0x00000010;
  11. Metadata.DISPLAY_OPT_TEXT    = 0x00000020;
  12. Metadata.DISPLAY_OPT_TEXTURE = 0x00000040;
  13. Metadata.DISPLAY_OPT_TIMER   = 0x00000080;

Now guess what problems that causes

Last edited by Meorawr : 08-30-12 at 09:26 AM.