#pragma once

// --------------------- mesh editing GUIDs ------------------------


// {6E2FF5F7-556B-4543-B0B5-9748C44CF16A}
RS_DEFINE_GUID(CON_MESHMOD_SELECTION, 0x6e2ff5f7, 0x556b, 0x4543, 0xb0, 0xb5, 0x97, 0x48, 0xc4, 0x4c, 0xf1, 0x6a);

// {C37E95AB-AC81-4d1e-97AC-7B20FB395F5B}
RS_DEFINE_GUID(CON_MESHMOD_REF_MATRIX, 0xc37e95ab, 0xac81, 0x4d1e, 0x97, 0xac, 0x7b, 0x20, 0xfb, 0x39, 0x5f, 0x5b);

// {0BC4B626-B96D-479d-B68C-5B17EDD40309}
RS_DEFINE_GUID(CON_MESHMOD_ORG_LOCAL,  0xbc4b626, 0xb96d, 0x479d, 0xb6, 0x8c, 0x5b, 0x17, 0xed, 0xd4, 0x3, 0x9);

// {751AA933-1C57-4239-9D4C-5757A2C04D15}
RS_DEFINE_GUID(MSG_MESH_SELECTION_CHANGED, 0x751aa933, 0x1c57, 0x4239, 0x9d, 0x4c, 0x57, 0x57, 0xa2, 0xc0, 0x4d, 0x15);


//mesh editor preferences data object:

// {D980008F-88FD-4971-B8F7-C3EFB9883F27}
RS_DEFINE_GUID(CON_MESETTINGS_OUTOBJECT,    0xd980008f, 0x88fd, 0x4971, 0xb8, 0xf7, 0xc3, 0xef, 0xb9, 0x88, 0x3f, 0x27);


// {B994FF0F-293D-4c27-8D4B-C7FE14BE54BC}
RS_DEFINE_GUID(CON_MESETTINGS_PRSERVE_UNWRAP, 0xb994ff0f, 0x293d, 0x4c27, 0x8d, 0x4b, 0xc7, 0xfe, 0x14, 0xbe, 0x54, 0xbc);

// system notify message about ME settings changed:
// {A56740EF-ED7C-4181-AD85-FE2D1EABE2D3}
RS_DEFINE_GUID(MSG_PREF_MESETTINGS_CHANGED,0xa56740ef, 0xed7c, 0x4181, 0xad, 0x85, 0xfe, 0x2d, 0x1e, 0xab, 0xe2, 0xd3);

// {D629434C-5F63-4e22-9F44-976DD2ECCAC2}
RS_DEFINE_GUID(CON_MESETTINGS_HEAL_RADIUS, 0xd629434c, 0x5f63, 0x4e22, 0x9f, 0x44, 0x97, 0x6d, 0xd2, 0xec, 0xca, 0xc2);

// {455E1715-3025-4ac7-B03B-01B5D81C9498}
RS_DEFINE_GUID(CON_MESETTINGS_HEAL_MODE, 0x455e1715, 0x3025, 0x4ac7, 0xb0, 0x3b, 0x1, 0xb5, 0xd8, 0x1c, 0x94, 0x98);

// {FF6B23B9-6F71-469f-978A-1C470458B4FD}
RS_DEFINE_GUID(CON_MESETTINGS_AUTOFACE_ANGLE, 0xff6b23b9, 0x6f71, 0x469f, 0x97, 0x8a, 0x1c, 0x47, 0x4, 0x58, 0xb4, 0xfd);

// {86CDB871-60B2-4826-9740-599270A60F3F}
RS_DEFINE_GUID(CON_MESETTINGS_AUTOTRIANGULATION_MODE, 0x86cdb871, 0x60b2, 0x4826, 0x97, 0x40, 0x59, 0x92, 0x70, 0xa6, 0xf, 0x3f);

#define MESETTINGS_AUTOTRIANGULATION_MODE_CONTINUOUS L"Continuous"
#define MESETTINGS_AUTOTRIANGULATION_MODE_ONRELEASE L"On release"
#define MESETTINGS_AUTOTRIANGULATION_MODE_NONE L"None"

// {774D2DA0-C8E4-4308-A1A2-7A4258100688}
RS_DEFINE_GUID(CON_MESETTINGS_MIRROR_MODE, 0x774d2da0, 0xc8e4, 0x4308, 0xa1, 0xa2, 0x7a, 0x42, 0x58, 0x10, 0x6, 0x88);
// {D092A49E-2832-40ac-B853-ED67DD092E1A}
RS_DEFINE_GUID(CON_MESETTINGS_MIRROR_NORMALS, 0xd092a49e, 0x2832, 0x40ac, 0xb8, 0x53, 0xed, 0x67, 0xdd, 0x9, 0x2e, 0x1a);

// {E710B47F-4D6F-4255-B046-D932B6B776D9}
RS_DEFINE_GUID(CON_MESETTINGS_MIRROR_POSITION_X, 0xe710b47f, 0x4d6f, 0x4255, 0xb0, 0x46, 0xd9, 0x32, 0xb6, 0xb7, 0x76, 0xd9);
// {2BB2006E-7B3E-4077-9865-0CC0C79A8934}
RS_DEFINE_GUID(CON_MESETTINGS_MIRROR_POSITION_Y, 0x2bb2006e, 0x7b3e, 0x4077, 0x98, 0x65, 0xc, 0xc0, 0xc7, 0x9a, 0x89, 0x34);
// {CE211BF1-FBA7-479d-A796-F27075C3448C}
RS_DEFINE_GUID(CON_MESETTINGS_MIRROR_POSITION_Z, 0xce211bf1, 0xfba7, 0x479d, 0xa7, 0x96, 0xf2, 0x70, 0x75, 0xc3, 0x44, 0x8c);

// {09563D9A-93CE-4da1-BE9F-0B74BDF0D3E5}
RS_DEFINE_GUID(CON_MESETTINGS_MIRROR_NORMAL_X, 0x9563d9a, 0x93ce, 0x4da1, 0xbe, 0x9f, 0xb, 0x74, 0xbd, 0xf0, 0xd3, 0xe5);
// {C0EB6A74-D15C-433d-8D40-B4B370993A72}
RS_DEFINE_GUID(CON_MESETTINGS_MIRROR_NORMAL_Y, 0xc0eb6a74, 0xd15c, 0x433d, 0x8d, 0x40, 0xb4, 0xb3, 0x70, 0x99, 0x3a, 0x72);
// {F706D561-F11F-4130-8909-402E34DD455A}
RS_DEFINE_GUID(CON_MESETTINGS_MIRROR_NORMAL_Z, 0xf706d561, 0xf11f, 0x4130, 0x89, 0x9, 0x40, 0x2e, 0x34, 0xdd, 0x45, 0x5a);


// {8E01D6CA-4BEF-492c-8518-0D6232CC3F82}
RS_DEFINE_GUID(CON_MESETTINGS_KEEP_STRAY_VERTICES, 0x8e01d6ca, 0x4bef, 0x492c, 0x85, 0x18, 0xd, 0x62, 0x32, 0xcc, 0x3f, 0x82);

// {CBBA9C05-0146-4f63-8A46-9C2A33BF2B0A}
RS_DEFINE_GUID(CON_MESETTINGS_SELECTMAT_CONNECTED, 0xcbba9c05, 0x146, 0x4f63, 0x8a, 0x46, 0x9c, 0x2a, 0x33, 0xbf, 0x2b, 0xa);

// {07BCB38E-4E2A-44d1-A275-A351D1C9DF14}
RS_DEFINE_GUID(CON_MESETTINGS_MERGE_COLINEAR_EDGES, 0x7bcb38e, 0x4e2a, 0x44d1, 0xa2, 0x75, 0xa3, 0x51, 0xd1, 0xc9, 0xdf, 0x14);

// {8793EE86-4FCE-462d-8FEE-276228B7D25E}
RS_DEFINE_GUID(CON_MESETTINGS_COLINEAR_EDGES_THRESHOLD, 0x8793ee86, 0x4fce, 0x462d, 0x8f, 0xee, 0x27, 0x62, 0x28, 0xb7, 0xd2, 0x5e);


///reset sds tool:

// {5F6863AC-6465-4bb4-AB1E-274F9F7C9774}
RS_DEFINE_GUID(CON_MESETTINGS_RSDS_EDGEWEIGHTS, 0x5f6863ac, 0x6465, 0x4bb4, 0xab, 0x1e, 0x27, 0x4f, 0x9f, 0x7c, 0x97, 0x74);
// {FA7D88A0-4CAF-4461-A3FA-BA7A604B39C8}
RS_DEFINE_GUID(CON_MESETTINGS_RSDS_VERTEXWEIGHTS, 0xfa7d88a0, 0x4caf, 0x4461, 0xa3, 0xfa, 0xba, 0x7a, 0x60, 0x4b, 0x39, 0xc8);
// {8E2A0314-68E5-4aea-8195-742E324B6E97}
RS_DEFINE_GUID(CON_MESETTINGS_RSDS_SSLEVEL, 0x8e2a0314, 0x68e5, 0x4aea, 0x81, 0x95, 0x74, 0x2e, 0x32, 0x4b, 0x6e, 0x97);

