Thanks Sukender, fix now now merged and submitted to svn/trunk.

On Tue, Jun 7, 2011 at 1:25 PM, Sukender <[email protected]> wrote:
> Hi Robert,
>
> Lastest change (update to FBX 2012.1) introduced a regression. It didn't take 
> materials' order into consideration. The line
>    lMaterialLayer->GetDirectArray().SetAt(it->second.getIndex(), lMaterial);
> has been replaced by
>    _curFbxNode->AddMaterial(lMaterial);
> because KFbxLayerElementMaterial::GetDirectArray() is now private and we 
> can't access to it.
> However, pushing back the material at the end of the vector is wrong.
> We can use the (now) public attribute KFbxLayerElementMaterial::mDirectArray, 
> as in this submission.
>
> From trunk rev 12447.
>
> Sukender
> PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to