Jump to content

Recommended Posts

Posted

When adding animations via ShapeEditor, the filetype select menu has missing/blank (or very white) text, meaning you cannot see it. All the options are still there just unviewable.

Pic related: New and busted at top, old hotness at bottom

APxh2Zk.jpg

Posted

After searching through the 9 gazillion versions of Torque on my PC I found that the last working version was 3.10 (Feb 2017), before SDL2.dll was a thing. My copies of devhead from October 2017 onwards have the non-visible text for fileTypes.

Posted

Okidoki, after much help from @Azaezel and @OTHGMars and co it can apparently be fixed with changes to engine/lib/nativeFileDialogs/nfd_win.cpp


~line 128

static nfdresult_t AddFiltersToDialog( ::IFileDialog *fileOpenDialog, const char *filterList )
{
    const wchar_t EMPTY_WSTR[] = L"All Files";//yorks added text "All Files" between empty ""
    const wchar_t WILDCARD[] = L"*.*";
...

 

~line 186

            // Empty filter name -- Windows describes them by extension.            
            //specList[specIdx].pszName = EMPTY_WSTR;//yorks out
			CopyNFDCharToWChar(specbuf, (wchar_t**)&specList[specIdx].pszName);//yorks in
            CopyNFDCharToWChar( specbuf, (wchar_t**)&specList[specIdx].pszSpec );

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...