- Joined
- Mar 28, 2008
- Messages
- 2,708
- Reaction score
- 881
- Points
- 128
First of all: MeshModified() and oapiMeshGroupEx() do not use DEVMESHHANDLE. So, Try passing a template mesh handle to oapiMeshGroupEx().
Also it looks like MeshModified() message isn't handled in the client yet due to lack of implementation details. oapiEditMeshGroup() does sent all necessary update calls to a client, so MeshModified() should not be needed. I am assuming that MeshModified() is intended to be used if there is a change in a template mesh.
---------- Post added at 18:50 ---------- Previous post was at 18:48 ----------
Does it work if you remove MeshModified() call ?
Also it looks like MeshModified() message isn't handled in the client yet due to lack of implementation details. oapiEditMeshGroup() does sent all necessary update calls to a client, so MeshModified() should not be needed. I am assuming that MeshModified() is intended to be used if there is a change in a template mesh.
---------- Post added at 18:50 ---------- Previous post was at 18:48 ----------
Martin's Own Graphics Client :rofl:
Anyway, with some help, this seems to be working now. Instead of giving the DEVMESHHANDLE to oapiMeshGroupEx, I now give the GetMeshTemplate handle. This way, D3D9 works as expected, except now the log file has several lines "EVENT_VESSEL_MODMESHGROUP Not Implemented".:shrug:
Does it work if you remove MeshModified() call ?

