diff --git a/CREDITS b/CREDITS
index 0a0f71735..219079168 100644
--- a/CREDITS
+++ b/CREDITS
@@ -60,7 +60,7 @@ The GUY who performed some of the CSM mocaps.
Contributed fixes for the documentation and the doxygen markup
- Zhao Lei
-Contributed several bugfixes fixing memory leaks and improving float parsing
+Contributed several bugfixes fixing memory leaks and improving float parsing
- sueastside
Updated PyAssimp to the latest Assimp data structures and provided a script to keep the Python binding up-to-date.
@@ -129,7 +129,7 @@ Contributed a patch to fix the VertexTriangleAdjacency postprocessing step.
Contributed the Debian build fixes ( architecture macro ).
- gellule
-Several LWO and LWS fixes (pivoting).
+Several LWO and LWS fixes (pivoting).
- Marcel Metz
GCC/Linux fixes for the SimpleOpenGL sample.
diff --git a/Readme.md b/Readme.md
index e3274cdce..5d4214d89 100644
--- a/Readme.md
+++ b/Readme.md
@@ -18,6 +18,7 @@ This is the development trunk containing the latest features and bugfixes. For p
The current build status is:
Gitter chat: [![Join the chat at https://gitter.im/assimp/assimp](https://badges.gitter.im/assimp/assimp.svg)](https://gitter.im/assimp/assimp?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
+
And we also have an IRC-channel at freenode: #assetimporterlib . You can easily join us via: [KiwiIRC/freenote](https://kiwiirc.com/client/irc.freenode.net), choose your nickname and type
> /join #assetimporterlib
diff --git a/code/3DSExporter.h b/code/3DSExporter.h
index 4d9b39d53..8bcce338d 100644
--- a/code/3DSExporter.h
+++ b/code/3DSExporter.h
@@ -48,7 +48,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include
#include "StreamWriter.h"
-#include "./../include/assimp/material.h"
+#include
struct aiScene;
struct aiNode;
diff --git a/code/3DSHelper.h b/code/3DSHelper.h
index 7a2ad3f8a..699767cee 100644
--- a/code/3DSHelper.h
+++ b/code/3DSHelper.h
@@ -48,10 +48,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "SmoothingGroups.h"
#include "StringUtils.h"
#include "qnan.h"
-#include "./../include/assimp/material.h"
-#include "./../include/assimp/camera.h"
-#include "./../include/assimp/light.h"
-#include "./../include/assimp/anim.h"
+#include
+#include
+#include
+#include
#include //sprintf
namespace Assimp {
diff --git a/code/3DSLoader.cpp b/code/3DSLoader.cpp
index b19d37f4c..f0285a899 100644
--- a/code/3DSLoader.cpp
+++ b/code/3DSLoader.cpp
@@ -54,6 +54,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include
#include
#include
+#include
#include "StringComparison.h"
using namespace Assimp;
diff --git a/code/ACLoader.cpp b/code/ACLoader.cpp
index c040d6bbd..bca24e948 100644
--- a/code/ACLoader.cpp
+++ b/code/ACLoader.cpp
@@ -60,6 +60,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include
#include
#include
+#include
#include
using namespace Assimp;
diff --git a/code/AMFImporter.cpp b/code/AMFImporter.cpp
index 78f21814c..0ebfcbcc4 100644
--- a/code/AMFImporter.cpp
+++ b/code/AMFImporter.cpp
@@ -51,11 +51,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "AMFImporter_Macro.hpp"
#include "fast_atof.h"
-#include "DefaultIOSystem.h"
+#include
// Header files, stdlib.
#include
-#include
namespace Assimp
{
diff --git a/code/AMFImporter.hpp b/code/AMFImporter.hpp
index 4d92b9ea0..9731f2e41 100644
--- a/code/AMFImporter.hpp
+++ b/code/AMFImporter.hpp
@@ -52,9 +52,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "AMFImporter_Node.hpp"
// Header files, Assimp.
-#include "assimp/DefaultLogger.hpp"
-#include "assimp/importerdesc.h"
-#include "assimp/ProgressHandler.hpp"
+#include
+#include
#include "assimp/types.h"
#include "BaseImporter.h"
#include "irrXMLWrapper.h"
diff --git a/code/AMFImporter_Postprocess.cpp b/code/AMFImporter_Postprocess.cpp
index 686040598..6f82d5367 100644
--- a/code/AMFImporter_Postprocess.cpp
+++ b/code/AMFImporter_Postprocess.cpp
@@ -54,7 +54,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "StringUtils.h"
// Header files, stdlib.
-#include
#include
namespace Assimp
@@ -62,7 +61,7 @@ namespace Assimp
aiColor4D AMFImporter::SPP_Material::GetColor(const float pX, const float pY, const float pZ) const
{
-aiColor4D tcol;
+ aiColor4D tcol;
// Check if stored data are supported.
if(Composition.size() != 0)
@@ -93,8 +92,8 @@ aiColor4D tcol;
void AMFImporter::PostprocessHelper_CreateMeshDataArray(const CAMFImporter_NodeElement_Mesh& pNodeElement, std::vector& pVertexCoordinateArray,
std::vector& pVertexColorArray) const
{
-CAMFImporter_NodeElement_Vertices* vn = nullptr;
-size_t col_idx;
+ CAMFImporter_NodeElement_Vertices* vn = nullptr;
+ size_t col_idx;
// All data stored in "vertices", search for it.
for(CAMFImporter_NodeElement* ne_child: pNodeElement.Child)
@@ -142,8 +141,8 @@ size_t col_idx;
size_t AMFImporter::PostprocessHelper_GetTextureID_Or_Create(const std::string& pID_R, const std::string& pID_G, const std::string& pID_B,
const std::string& pID_A)
{
-size_t TextureConverted_Index;
-std::string TextureConverted_ID;
+ size_t TextureConverted_Index;
+ std::string TextureConverted_ID;
// check input data
if(pID_R.empty() && pID_G.empty() && pID_B.empty() && pID_A.empty())
@@ -302,19 +301,19 @@ std::string TextureConverted_ID;
void AMFImporter::PostprocessHelper_SplitFacesByTextureID(std::list& pInputList, std::list >& pOutputList_Separated)
{
-auto texmap_is_equal = [](const CAMFImporter_NodeElement_TexMap* pTexMap1, const CAMFImporter_NodeElement_TexMap* pTexMap2) -> bool
-{
- if((pTexMap1 == nullptr) && (pTexMap2 == nullptr)) return true;
- if(pTexMap1 == nullptr) return false;
- if(pTexMap2 == nullptr) return false;
+ auto texmap_is_equal = [](const CAMFImporter_NodeElement_TexMap* pTexMap1, const CAMFImporter_NodeElement_TexMap* pTexMap2) -> bool
+ {
+ if((pTexMap1 == nullptr) && (pTexMap2 == nullptr)) return true;
+ if(pTexMap1 == nullptr) return false;
+ if(pTexMap2 == nullptr) return false;
- if(pTexMap1->TextureID_R != pTexMap2->TextureID_R) return false;
- if(pTexMap1->TextureID_G != pTexMap2->TextureID_G) return false;
- if(pTexMap1->TextureID_B != pTexMap2->TextureID_B) return false;
- if(pTexMap1->TextureID_A != pTexMap2->TextureID_A) return false;
+ if(pTexMap1->TextureID_R != pTexMap2->TextureID_R) return false;
+ if(pTexMap1->TextureID_G != pTexMap2->TextureID_G) return false;
+ if(pTexMap1->TextureID_B != pTexMap2->TextureID_B) return false;
+ if(pTexMap1->TextureID_A != pTexMap2->TextureID_A) return false;
- return true;
-};
+ return true;
+ };
pOutputList_Separated.clear();
if(pInputList.size() == 0) return;
diff --git a/code/ASELoader.cpp b/code/ASELoader.cpp
index ed01c17e1..24f63d2d0 100644
--- a/code/ASELoader.cpp
+++ b/code/ASELoader.cpp
@@ -54,6 +54,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include
#include
#include
+#include
#include
diff --git a/code/ASELoader.h b/code/ASELoader.h
index b775fc6bb..6ef4d28f8 100644
--- a/code/ASELoader.h
+++ b/code/ASELoader.h
@@ -46,9 +46,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "BaseImporter.h"
#include
+#include "ASEParser.h"
struct aiNode;
-#include "ASEParser.h"
namespace Assimp {
diff --git a/code/ASEParser.cpp b/code/ASEParser.cpp
index b30e3a017..b06447cfa 100644
--- a/code/ASEParser.cpp
+++ b/code/ASEParser.cpp
@@ -49,7 +49,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// internal headers
#include "TextureTransform.h"
#include "ASELoader.h"
-#include "MaterialSystem.h"
#include "fast_atof.h"
#include
diff --git a/code/AssbinLoader.cpp b/code/AssbinLoader.cpp
index 5686d45b9..69ac2708f 100644
--- a/code/AssbinLoader.cpp
+++ b/code/AssbinLoader.cpp
@@ -54,6 +54,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include
#include
#include
+#include
#ifdef ASSIMP_BUILD_NO_OWN_ZLIB
# include
diff --git a/code/AssbinLoader.h b/code/AssbinLoader.h
index 7e098caec..6df5e02f6 100644
--- a/code/AssbinLoader.h
+++ b/code/AssbinLoader.h
@@ -46,7 +46,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define AI_ASSBINIMPORTER_H_INC
#include "BaseImporter.h"
-#include
struct aiMesh;
struct aiNode;
diff --git a/code/AssxmlExporter.cpp b/code/AssxmlExporter.cpp
index c50f1985b..677bea265 100644
--- a/code/AssxmlExporter.cpp
+++ b/code/AssxmlExporter.cpp
@@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* ASSXML exporter main code
*/
#include
-#include "./../include/assimp/version.h"
+#include
#include "ProcessHelper.h"
#include
#include
diff --git a/code/B3DImporter.cpp b/code/B3DImporter.cpp
index d28d41518..e2a685d1a 100644
--- a/code/B3DImporter.cpp
+++ b/code/B3DImporter.cpp
@@ -56,7 +56,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include
#include
#include
-
+#include
using namespace Assimp;
using namespace std;
diff --git a/code/B3DImporter.h b/code/B3DImporter.h
index 92ddc0272..167078655 100644
--- a/code/B3DImporter.h
+++ b/code/B3DImporter.h
@@ -48,7 +48,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include
#include "BaseImporter.h"
-#include
#include
struct aiNodeAnim;
diff --git a/code/BVHLoader.cpp b/code/BVHLoader.cpp
index e5821fdaf..1324dcdca 100644
--- a/code/BVHLoader.cpp
+++ b/code/BVHLoader.cpp
@@ -51,6 +51,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "TinyFormatter.h"
#include
#include
+#include
using namespace Assimp;
using namespace Assimp::Formatter;
diff --git a/code/BaseImporter.cpp b/code/BaseImporter.cpp
index 3d53bc089..e96b35cf2 100644
--- a/code/BaseImporter.cpp
+++ b/code/BaseImporter.cpp
@@ -50,6 +50,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include
#include
#include
+#include
#include
#include
#include
diff --git a/code/BaseImporter.h b/code/BaseImporter.h
index 7c8932a3f..781318be8 100644
--- a/code/BaseImporter.h
+++ b/code/BaseImporter.h
@@ -44,14 +44,13 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "Exceptional.h"
-#include
-#include