mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-24 14:49:27 +00:00
TORQUE_TOOLS off compile fix
fix a cornercase for when TORQUE_TOOLS is #undef at the torqueconfig.h level
This commit is contained in:
parent
9f5c74c79a
commit
07ed59a872
2 changed files with 7 additions and 0 deletions
|
|
@ -18,7 +18,12 @@ void gotoWebPage(const char* address);
|
|||
bool getDocsURL(void* obj, const char* array, const char* data);
|
||||
const char* getDocsLink(const char* filename, U32 lineNumber);
|
||||
|
||||
#ifdef TORQUE_TOOLS
|
||||
#define docsURL addGroup("Ungrouped");\
|
||||
addProtectedField("docsURL", TypeBool, Offset(mDocsClick, ConsoleObject), &getDocsURL, &defaultProtectedGetFn, getDocsLink(__FILE__,__LINE__), AbstractClassRep::FieldFlags::FIELD_ComponentInspectors);\
|
||||
endGroup("Ungrouped")
|
||||
#else
|
||||
#define docsURL NULL
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue