lock trace bug, missed optimize in dvd_create, cin_quality=-1, motion plugin gui...
[goodguy/history.git] / cinelerra-5.1 / plugins / motion-cv / motionwindow-cv.C
index ffe0b9112f987976bfd1fae0e404def20e53b9b9..eeadec0c2bef68d8602db432f978cc59b9bb0eb2 100644 (file)
@@ -150,6 +150,9 @@ void MotionCVWindow::create_objects()
                new BC_Title(x1=x2, y1=y, _("Frame number:")));
        add_subwindow(track_frame_number =
                new TrackFrameNumber(plugin, this, x1 += title->get_w(), y1));
+       if( plugin->config.mode3 != MotionCVConfig::TRACK_SINGLE )
+               track_frame_number->disable();
+
        add_subwindow(addtrackedframeoffset =
                new AddTrackedFrameOffset(plugin, this, x1=x2, y1+=track_frame_number->get_h()));
        int pef = client->server->mwindow->edl->session->video_every_frame;
@@ -484,8 +487,6 @@ TrackFrameNumber::TrackFrameNumber(MotionCVMain *plugin,
 {
        this->plugin = plugin;
        this->gui = gui;
-       if( plugin->config.mode3 != MotionCVConfig::TRACK_SINGLE )
-               disable();
 }
 
 int TrackFrameNumber::handle_event()