13
0

Push a few more nutempo DnD warning macros

This commit is contained in:
Robin Gareus 2022-01-10 21:48:11 +01:00
parent fa7e7a462c
commit 2342caae46
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -601,6 +601,7 @@ struct TimeAxisViewStripableSorter {
};
RegionDrag::RegionDrag (Editor* e, ArdourCanvas::Item* i, RegionView* p, list<RegionView*> const & v)
#warning nutempo un-hardcode time-domain, see fa7e7a462c8
: Drag (e, i, p && p->region () ? p->region()->position().time_domain() : Temporal::AudioTime)
, _primary (p)
, _ntracks (0)
@ -2210,6 +2211,7 @@ RegionMoveDrag::setup_pointer_offset ()
}
RegionInsertDrag::RegionInsertDrag (Editor* e, boost::shared_ptr<Region> r, RouteTimeAxisView* v, timepos_t const & pos)
#warning nutempo pass pos.time_domain () up to Drag's c'tor
: RegionMotionDrag (e, 0, 0, list<RegionView*> ())
{
DEBUG_TRACE (DEBUG::Drags, "New RegionInsertDrag\n");