32 static char THIS_FILE[] = __FILE__;
40 : CDialog(
TextureMapDialog::IDD, pParent), doc(0), material(0), model(0), blank(0)
97 if (pDX->m_bSaveAndValidate) {
119 CDialog::OnInitDialog();
121 mMaterialList.AddString(
"<none>");
123 if (model && model->NumMaterials()) {
127 mMaterialList.AddString(mtl->
name);
131 mMaterialList.SetCurSel(mMaterialIndex);
132 mMapping.SetCurSel(0);
136 ThumbPreview(mMaterialThumb.GetSafeHwnd(), material->thumbnail);