mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
use the stringtable to hold generated docstrings
among other things it removes doubles
This commit is contained in:
parent
2a9aa3a9d5
commit
391de9f62c
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue