Merge pull request #1469 from Azaezel/alpha41/docingClamps

use the stringtable to hold generated docstrings
This commit is contained in:
Brian Roberts 2025-05-18 14:36:26 -05:00 committed by GitHub
commit a8c3ad5141
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2859,7 +2859,7 @@ const char* getDocsLink(const char* filename, U32 lineNumber)
String baseUrL = String(Con::getVariable("Pref::DocURL","https://github.com/TorqueGameEngines/Torque3D/blob/development/Engine/source"));
String URL = String("<a:") + baseUrL + fileLineString + String(">docs</a>");
return (new String(URL))->c_str();
return StringTable->insert(URL.c_str());
}
bool getDocsURL(void* obj, const char* array, const char* data)