Ordering of ModifyMesh with multiple IMeshModifier components

Hi,

We have a component for curving text that I have just converted to use the new IMeshModifier interface after we upgraded from 4.6. The problem is that this does not work alongside the built-in Outline component - both use IMeshModifier and the result is garbled text.

I think that what is happening is that the outline component is modifying the mesh first, introducing a load of new vertices and this is throwing out the logic in our curve component which makes some assumptions about the verts being arranged left to right. Is there a way that we can force our ModifyMesh to be called first? I tried using script execution order to no avail.

I will try to update our component to curve all the cloned vertices generated by the outline component but obviously it would be much nicer to be able to apply the curving first and then generate the outline verts from this.

Sounds like it needs a UT answer.
But would you be willing to share your curved component with the UI Extensions project when it’s working? I have one already to add but would appreciate an updated 5.2 version as well.

They get applied in component order, you could make your curve execute first by reordering the components. It’s also probably a bad idea to assume the order the vets will arrive at your component in.