瀏覽代碼

Re-added accidentally deleted line that removed the preview tooltip

Areloch 2 年之前
父節點
當前提交
739a111fc2
共有 1 個文件被更改,包括 2 次插入0 次删除
  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];