• R/O
  • SSH
  • HTTPS

vima19: Commit


Commit MetaInfo

Revision277 (tree)
Zeit2021-10-15 04:23:57
Autorhgtterry

Log Message

Equity15 141021 Ogre XML Exporter

Ändern Zusammenfassung

Diff

--- Anim19_OSDN/VM_TXMLExport.cpp (revision 276)
+++ Anim19_OSDN/VM_TXMLExport.cpp (revision 277)
@@ -712,7 +712,7 @@
712712 const char *MatName;
713713 geBody_GetMaterial(At->ActorDef_Memory->Body,C_Render->SelectedTexture,&MatName,&Bitmap,&R,&G,&B);*/
714714
715- strcat(XmlMeshFileName,"_");
715+ //strcat(XmlMeshFileName,"_");
716716 strcat(XmlScriptFileName,"_");
717717 strcat(XmlSkellTagName,"_");
718718
@@ -891,7 +891,10 @@
891891
892892 char SubMesh[256];
893893 strcpy(SubMesh," <submesh material=\"");
894- strcpy(MatName,App->CL_Vm_Model->S_MeshGroup[GroupIndex]->MaterialName);
894+
895+ strcpy(MatName, App->CL_Vm_Model->JustName);
896+ strcat(MatName, "_");
897+ strcat(MatName,App->CL_Vm_Model->S_MeshGroup[GroupIndex]->MaterialName);
895898
896899 fprintf(WritePolyFile,"%s%s%s %s\n",SubMesh,MatName,"\" usesharedvertices=\"false\"","use32bitindexes=\"false\" operationtype=\"triangle_list\">");
897900
Show on old repository browser