WoWInterface - View Single Post - Model Frame does not show again after hiding
View Single Post
08-02-18, 01:40 PM   #3
A Scalebane Royal Guard
MunkDev's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2015
Posts: 431
Think this is easier in terms of resetting the model.
Lua Code:
  1. model:ClearModel()
Anyway, I've had this issue too in Immersion, and noticed that if you're setting model properties while the frame is hidden, they won't take if transitioning from :SetUnit and :SetDisplayInfo to :SetModel. To ensure your solution works, clear the model and set up the properties again after the model frame is visible, using an OnShow script.
  Reply With Quote