Explorar o código

Re-added accidentally deleted line that removed the preview tooltip

Areloch %!s(int64=2) %!d(string=hai) anos
pai
achega
739a111fc2
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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];