From 5e2f43a1348dd5b702e33cb54d06b417a8c4b654 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Tue, 22 Sep 2015 16:18:00 +0200 Subject: [PATCH] Be helpful --- code/nel/tools/3d/mesh_utils/assimp_shape.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/nel/tools/3d/mesh_utils/assimp_shape.cpp b/code/nel/tools/3d/mesh_utils/assimp_shape.cpp index 4a473d20f..7b404d1e2 100644 --- a/code/nel/tools/3d/mesh_utils/assimp_shape.cpp +++ b/code/nel/tools/3d/mesh_utils/assimp_shape.cpp @@ -118,6 +118,11 @@ void assimpBuildBaseMesh(CMeshBase::CMeshBaseBuild &buildBaseMesh, CMeshUtilsCon buildBaseMesh.DefaultRotEuler = CVector(0, 0, 0); buildBaseMesh.DefaultPivot = CVector(0, 0, 0); buildBaseMesh.DefaultPos = convVector(position); + if (buildBaseMesh.DefaultScale.x != 1.0f || buildBaseMesh.DefaultScale.y != 1.0f || buildBaseMesh.DefaultScale.z != 1.0f) + { + tlmessage(context.ToolLogger, context.Settings.SourceFilePath.c_str(), + "Node '%s' has a scaled transformation. This may be a mistake", node->mName.C_Str()); + } // Meta // dst.CollisionMeshGeneration = src.CollisionMeshGeneration;