diff --git a/Extensions/TextObject/Extension.cpp b/Extensions/TextObject/Extension.cpp
index 7cd8feba60..a8a1017409 100644
--- a/Extensions/TextObject/Extension.cpp
+++ b/Extensions/TextObject/Extension.cpp
@@ -47,6 +47,7 @@ class Extension : public ExtensionBase
"Compil Games",
"zlib/libpng License ( Open Source )")
+
//Declaration of all objects available
DECLARE_OBJECT("Text",
_("Texte"),
@@ -56,6 +57,8 @@ class Extension : public ExtensionBase
&DestroyTextObject,
"TextObject");
+ #if defined(GD_IDE_ONLY)
+
objInfos.SetIncludeFile("TextObject/TextObject.h");
DECLARE_OBJECT_ACTION("String",
@@ -244,8 +247,10 @@ class Extension : public ExtensionBase
instrInfo.cppCallingInformation.SetFunctionName("GetString").SetIncludeFile("TextObject/TextObject.h");
DECLARE_END_OBJECT_STR_EXPRESSION()
+ #endif
DECLARE_END_OBJECT()
+
CompleteCompilationInformation();
};
virtual ~Extension() {};
diff --git a/Extensions/TextObject/TextExtension.cbp b/Extensions/TextObject/TextExtension.cbp
index 4def537cda..ba47f2e14e 100644
--- a/Extensions/TextObject/TextExtension.cbp
+++ b/Extensions/TextObject/TextExtension.cbp
@@ -320,8 +320,8 @@
-
-
+
+
@@ -340,7 +340,7 @@
-
+
@@ -364,8 +364,8 @@
-
-
+
+
@@ -385,7 +385,7 @@
-
+
@@ -408,8 +408,8 @@
-
-
+
+
@@ -428,7 +428,7 @@
-
+
@@ -448,8 +448,8 @@
-
-
+
+
@@ -468,7 +468,7 @@
-
+
diff --git a/Extensions/TextObject/TextExtension.depend b/Extensions/TextObject/TextExtension.depend
index fd910a0839..2192422f66 100644
--- a/Extensions/TextObject/TextExtension.depend
+++ b/Extensions/TextObject/TextExtension.depend
@@ -8870,16 +8870,17 @@
1264364230 d:\florian\programmation\gamedevelop\gdl\gdl\btalignedallocator.h
"GDL/btScalar.h"
-1311366091 source:d:\florian\programmation\gamedevelop2\extensions\textobject\textobject.cpp
+1313697701 source:d:\florian\programmation\gamedevelop2\extensions\textobject\textobject.cpp
"GDL/Object.h"
"GDL/ImageManager.h"
"GDL/tinyxml.h"
"GDL/FontManager.h"
"GDL/Position.h"
+ "GDL/RotatedRectangle.h"
+ "GDL/CommonTools.h"
"TextObject.h"
- "GDL/CommonTools.h"
"GDL/ResourcesMergingHelper.h"
"GDL/MainEditorCommand.h"
"TextObjectEditor.h"
@@ -9150,19 +9151,15 @@
-1311891521 d:\florian\programmation\gamedevelop2\gdl\gdl\object.h
-
+1312670601 d:\florian\programmation\gamedevelop2\gdl\gdl\object.h
"GDL/Force.h"
-
-
-
+