Exemplo n.º 1
0
        void on_btnSaveAsBlendTexture_clicked(object o, EventArgs e)
        {
            string filepath = GetFilePath("Save blend texture as", "*.JPG");

            if (filepath != "")
            {
                MapTextureStageModel maptexturestage = GetSelectedMapTextureStage();
                maptexturestage.SaveBlendTextureToFile(filepath);
                blendtexturefilename.Text = filepath;
            }
        }
Exemplo n.º 2
0
 void on_btnSaveBlendTexture_clicked(object o, EventArgs e)
 {
     if (blendtexturefilename.Text == "")
     {
         on_btnSaveAsBlendTexture_clicked(o, e);
     }
     else
     {
         MapTextureStageModel maptexturestage = GetSelectedMapTextureStage();
         maptexturestage.SaveBlendTextureToFile(blendtexturefilename.Text);
     }
 }