closes https://github.com/assimp/assimp/issues/1836: make documentation much more clear how to apply global scaling.
This commit is contained in:
@@ -177,8 +177,6 @@ SET( Common_SRCS
|
||||
SkeletonMeshBuilder.cpp
|
||||
SplitByBoneCountProcess.cpp
|
||||
SplitByBoneCountProcess.h
|
||||
ScaleProcess.cpp
|
||||
ScaleProcess.h
|
||||
StandardShapes.cpp
|
||||
TargetAnimation.cpp
|
||||
TargetAnimation.h
|
||||
@@ -586,6 +584,8 @@ SET( PostProcessing_SRCS
|
||||
PolyTools.h
|
||||
MakeVerboseFormat.cpp
|
||||
MakeVerboseFormat.h
|
||||
ScaleProcess.cpp
|
||||
ScaleProcess.h
|
||||
)
|
||||
SOURCE_GROUP( PostProcessing FILES ${PostProcessing_SRCS})
|
||||
|
||||
|
||||
@@ -443,6 +443,8 @@ private:
|
||||
|
||||
aiScene* const out;
|
||||
const FBX::Document& doc;
|
||||
|
||||
std::vector<std::string> mLightNames;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -88,13 +88,6 @@ void ScaleProcess::Execute( aiScene* pScene ) {
|
||||
|
||||
void ScaleProcess::traverseNodes( aiNode *node ) {
|
||||
applyScaling( node );
|
||||
|
||||
/*for ( unsigned int i = 0; i < node->mNumChildren; ++i ) {
|
||||
aiNode *currentNode = currentNode->mChildren[ i ];
|
||||
if ( nullptr != currentNode ) {
|
||||
traverseNodes( currentNode );
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
void ScaleProcess::applyScaling( aiNode *currentNode ) {
|
||||
|
||||
Reference in New Issue
Block a user