fix TORQUE_TOOLS = off compilation

This commit is contained in:
AzaezelX 2022-06-13 12:38:08 -05:00
parent 9836f6eb30
commit 4a7104e5ea
38 changed files with 80 additions and 56 deletions

View file

@ -22,7 +22,7 @@
// IN THE SOFTWARE.
//
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
#ifdef TORQUE_TOOLS
#include "afx/arcaneFX.h"
#include "gui/editor/inspector/customField.h"
@ -203,3 +203,4 @@ void afxGuiSubstitutionField::_executeSelectedCallback()
}
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
#endif

View file

@ -25,7 +25,7 @@
#ifndef _AFX_GUI_SUBSTITUTION_FIELD_H_
#define _AFX_GUI_SUBSTITUTION_FIELD_H_
#ifdef TORQUE_TOOLS
#include "console/simFieldDictionary.h"
#include "gui/editor/inspector/field.h"
@ -62,5 +62,5 @@ protected:
String subs_string;
};
#endif
#endif // _AFX_SUBSTITUTION_FIELD_H_