mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
Adds the necessary ifdef flags to re-enable the ability to build with tools disabled
This commit is contained in:
parent
a0838b58f2
commit
cac068d2c5
6 changed files with 14 additions and 3 deletions
|
|
@ -102,6 +102,7 @@ ConsoleSetType(TypeSoundControls)
|
|||
{
|
||||
}
|
||||
|
||||
#ifdef TORQUE_TOOLS
|
||||
IMPLEMENT_CONOBJECT(GuiInspectorTypeSoundControls);
|
||||
ConsoleDocClass(GuiInspectorTypeSoundControls,
|
||||
"@brief Inspector field type for Controlling playback of sounds\n\n"
|
||||
|
|
@ -201,7 +202,7 @@ bool GuiInspectorTypeSoundControls::updateRects()
|
|||
|
||||
return resized;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ class SFXSource;
|
|||
class SFXTrack;
|
||||
|
||||
DefineConsoleType(TypeSoundControls, bool)
|
||||
#ifdef TORQUE_TOOLS
|
||||
class GuiInspectorTypeSoundControls : public GuiInspectorField
|
||||
{
|
||||
typedef GuiInspectorField Parent;
|
||||
|
|
@ -56,6 +57,7 @@ public:
|
|||
GuiControl* constructEditControl() override;
|
||||
bool updateRects() override;
|
||||
};
|
||||
#endif
|
||||
//RDTODO: make 3D sound emitters yield their source when being culled
|
||||
|
||||
/// The SFXEmitter is used to place 2D or 3D sounds into a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue