- fbx: add import settings to public assimp config interface.

This commit is contained in:
Alexander Gessler
2012-08-11 16:41:44 +02:00
parent eb16c193ea
commit 3e86e1b857
3 changed files with 110 additions and 3 deletions

View File

@@ -231,8 +231,13 @@ private:
// attach sub-nodes
ConvertNodes(model->ID(), *nodes_chain.back(), new_abs_transform);
ConvertLights(*model);
ConvertCameras(*model);
if(doc.Settings().readLights) {
ConvertLights(*model);
}
if(doc.Settings().readCameras) {
ConvertCameras(*model);
}
nodes.push_back(nodes_chain.front());
nodes_chain.clear();