Browse Source

Re-added accidentally deleted line that removed the preview tooltip

Areloch 2 years ago
parent
commit
739a111fc2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Engine/source/T3D/assets/ImageAsset.cpp

+ 2 - 0
Engine/source/T3D/assets/ImageAsset.cpp

@@ -475,6 +475,8 @@ GuiControl* GuiInspectorTypeImageAssetPtr::constructEditControl()
    if (retCtrl == NULL)
       return retCtrl;
 
+   retCtrl->getRenderTooltipDelegate().bind(this, &GuiInspectorTypeImageAssetPtr::renderTooltip);
+
    // Change filespec
    char szBuffer[512];