Quantcast
WoWInterface - View Single Post - Why frame never attaches to UIParent?
View Single Post
07-18-19, 05:05 PM   #7
jeruku
A Cobalt Mageweaver
 
jeruku's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 215
To my knowledge one of the more recent updates included a change to anchoring, including Nameplates. With it came the change that you can only anchor children of a Nameplate to the plate itself or one of its other children.

Blue post summary:
We added new restricted frames system that affects frame anchoring:
  • Frames that are anchored to a restricted frame can only have their other anchors set to frames within that same anchor hierarchy
  • Added new API in the Line API: Line:ClearAllPoints();
    • This will clear the anchors on a line and must be called to clear the restricted flag off of the frame.
  • New restricted frames include:
    • Nameplates

The following APIs are now blocked from being called on restricted frames:
  • GetCenter()
  • GetLeft()
  • GetRight()
  • GetTop()
  • GetBottom()
  • GetRect()
  • GetScaledRect()
  • GetBoundsRect()
__________________
"I have not failed, I simply found 10,000 ways that did not work." - Thomas Edison
  Reply With Quote