From 3df1fd3857a983be4d19e9c4ec656064fdd1f881 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Thu, 26 Nov 2020 00:30:49 +0800 Subject: [PATCH] Notes --- nel/tools/3d/plugin_max/nel_mesh_lib/calc_lm_rt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nel/tools/3d/plugin_max/nel_mesh_lib/calc_lm_rt.cpp b/nel/tools/3d/plugin_max/nel_mesh_lib/calc_lm_rt.cpp index 53aff48ba..c2eb6a4af 100644 --- a/nel/tools/3d/plugin_max/nel_mesh_lib/calc_lm_rt.cpp +++ b/nel/tools/3d/plugin_max/nel_mesh_lib/calc_lm_rt.cpp @@ -366,7 +366,7 @@ void CRTWorld::addNode (INode *pNode, vector< CMesh::CMeshBuild* > &Meshes, vec { for( uint32 i = 0; i < AllLights.size(); ++i ) { - if( isInteractionWithLight (AllLights[i], aabbox)) + if( isInteractionWithLight (AllLights[i], aabbox)) // FIXME: This is always true with sunlight! { bInteract = true; break; @@ -382,7 +382,7 @@ void CRTWorld::addNode (INode *pNode, vector< CMesh::CMeshBuild* > &Meshes, vec { CMesh::CMeshBuild *pMB; CMeshBase::CMeshBaseBuild *pMBB; - pMB = exportNel.createMeshBuild ( *pNode, tvTime, pMBB); + pMB = exportNel.createMeshBuild ( *pNode, tvTime, pMBB); // FIXME: This is slow! if( pMBB->bCastShadows ) { Meshes.push_back( pMB );