mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 11:06:32 +01:00
fix incorrect region opacity after move + undo
git-svn-id: svn://localhost/ardour2/trunk@1186 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
505d37a58f
commit
f7151b732b
2 changed files with 5 additions and 5 deletions
|
|
@ -3141,7 +3141,6 @@ Editor::region_drag_motion_callback (ArdourCanvas::Item* item, GdkEvent* event)
|
|||
|
||||
rv->get_canvas_frame()->get_bounds (ix1, iy1, ix2, iy2);
|
||||
rv->get_canvas_group()->i2w (ix1, iy1);
|
||||
rv->region()->set_opaque(false);
|
||||
TimeAxisView* tvp2 = trackview_by_y_position (iy1);
|
||||
AudioTimeAxisView* canvas_atv = dynamic_cast<AudioTimeAxisView*>(tvp2);
|
||||
AudioTimeAxisView* temp_atv;
|
||||
|
|
@ -3249,6 +3248,7 @@ Editor::region_drag_motion_callback (ArdourCanvas::Item* item, GdkEvent* event)
|
|||
}
|
||||
}
|
||||
}
|
||||
rv->region()->set_opaque(false);
|
||||
}
|
||||
|
||||
if (drag_info.brushing) {
|
||||
|
|
|
|||
|
|
@ -1385,6 +1385,10 @@ Playlist::set_state (const XMLNode& node)
|
|||
}
|
||||
}
|
||||
|
||||
notify_modified ();
|
||||
|
||||
thaw ();
|
||||
|
||||
/* update dependents, which was not done during add_region_internal
|
||||
due to in_set_state being true
|
||||
*/
|
||||
|
|
@ -1393,10 +1397,6 @@ Playlist::set_state (const XMLNode& node)
|
|||
check_dependents (*r, false);
|
||||
}
|
||||
|
||||
notify_modified ();
|
||||
|
||||
thaw ();
|
||||
|
||||
in_set_state--;
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue