X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fmotion-cv%2Fmotionwindow-cv.C;h=eeadec0c2bef68d8602db432f978cc59b9bb0eb2;hb=7fa4ccc2c91d37f20f3618261e4cbaa9d5d3c740;hp=ffe0b9112f987976bfd1fae0e404def20e53b9b9;hpb=43821d27c5b51c4250a251f20c98878f54deb288;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/motion-cv/motionwindow-cv.C b/cinelerra-5.1/plugins/motion-cv/motionwindow-cv.C index ffe0b911..eeadec0c 100644 --- a/cinelerra-5.1/plugins/motion-cv/motionwindow-cv.C +++ b/cinelerra-5.1/plugins/motion-cv/motionwindow-cv.C @@ -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()