示例#1
0
        public NUDMaterialEditor(NUD.Polygon p)
        {
            InitializeComponent();
            currentPolygon      = p;
            currentMaterialList = p.materials;
            Init();
            FillForm();
            matsComboBox.SelectedIndex = 0;

            // The dummy textures will be used later.
            RenderTools.SetupOpenTkRendering();
        }
示例#2
0
 public NUDMaterialEditor()
 {
     InitializeComponent();
     RenderTools.SetupOpenTkRendering();
 }