示例#1
0
        public override bool OnMouseDown(System.Windows.Forms.MouseEventArgs e, KeyModifier eKeyMod, int iOldX, int iOldY)
        {
            _bIsPainting = true;

            if (_resizeBrushKeyDown)
            {
                _bIsPainting = false;
            }

            if (_bIsPainting)
            {
                TerrainEditor.BeginUpdatePainting();
            }

            return(base.OnMouseDown(e, eKeyMod, iOldX, iOldY));
        }