Ejemplo n.º 1
0
        public void DoFinalRenderCalculus(ObjectsList ol, MainForm f, FinalRender r)
        {
            this.ol = ol.Items;

            this.animatronic = ol.Animatronic;
            this.form        = f;
            this.render      = r;

            if (animatronic.FramesNumber == 0 || form.skipanimations.Checked)
            {
                Mode = MODE.RENDER;
            }
            else
            {
                render.Render.Invoke(render.Render.SetMaximum, new object[] { animatronic.FramesNumber });
                Mode = MODE.ANIM;
            }

            this.RunWorkerAsync();
        }
Ejemplo n.º 2
0
 public FinalRender(Animations.Animatronic a)
 {
     InitializeComponent();
     animatronic = a;
 }