THis is what happens.
When i export a scene by material (by layer or element still holds but exporting by layer is what i usually do) i get the elements grouped by material as expected EXCEPT from OBJECT PARTS.
For example imagine i have a simple object with 2 materials as parameters.
The object is exported nicely (geometry) but the material it is assigned is not the one i choosed but another one. This happens for both parts of the object.
I have tested it will many objects and the result is the same.
Any idea how can this be fixed?