View Single Post
07-24-16, 05:16 PM   #33
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
My old script that hid your frame before repositioning it is no longer necessary, and will in fact probably result in worse performance since textures are unloaded from memory when they're hidden and have to be read from the disk again when they're shown.

You can now safely parent and anchor to the base nameplate frame without much issue.

However, I ran into major performance problems from nameplates scaling based on distance, and have hard-coded their min and max scale to the same number to prevent it from happening.
Lua Code:
  1. SetCVar('namePlateMinScale', 1)
  2. SetCVar('namePlateMaxScale', 1)
  Reply With Quote