X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fmotion%2Fmotionwindow.C;h=b8930e206f813f612a4292e9244c3cea9dfb1db5;hb=dafc18d66d48cd981a012d2e73a3b3db5351c538;hp=8f3a244a87625b915aea3cd9e808bebef94a69af;hpb=7f3ab16b8472cbb67f8b476d6e8f645904797023;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/motion/motionwindow.C b/cinelerra-5.1/plugins/motion/motionwindow.C index 8f3a244a..b8930e20 100644 --- a/cinelerra-5.1/plugins/motion/motionwindow.C +++ b/cinelerra-5.1/plugins/motion/motionwindow.C @@ -172,6 +172,9 @@ void MotionWindow::create_objects() new BC_Title(x1=x2, y1, _("Frame number:"))); add_subwindow(track_frame_number = new TrackFrameNumber(plugin, this, x1 += title->get_w(), y1)); + if(plugin->config.tracking_object != MotionScan::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; @@ -605,7 +608,6 @@ TrackFrameNumber::TrackFrameNumber(MotionMain *plugin, { this->plugin = plugin; this->gui = gui; - if(plugin->config.tracking_object != MotionScan::TRACK_SINGLE) disable(); } int TrackFrameNumber::handle_event()