CC-5139 : WaveForm: Click save will cause problem when setting crossfading between track and Smart block
This commit is contained in:
parent
298e5a9b77
commit
d9b6a15fb6
4 changed files with 18 additions and 7 deletions
|
@ -688,8 +688,12 @@ SQL;
|
|||
$this->con->beginTransaction();
|
||||
|
||||
try {
|
||||
$this->changeFadeInfo($id1, null, $fadeOut);
|
||||
$this->changeFadeInfo($id2, $fadeIn, null, $offset);
|
||||
if (isset($id1)) {
|
||||
$this->changeFadeInfo($id1, null, $fadeOut);
|
||||
}
|
||||
if (isset($id2)) {
|
||||
$this->changeFadeInfo($id2, $fadeIn, null, $offset);
|
||||
}
|
||||
|
||||
$this->con->commit();
|
||||
|
||||
|
|
|
@ -670,8 +670,12 @@ SQL;
|
|||
$this->con->beginTransaction();
|
||||
|
||||
try {
|
||||
$this->changeFadeInfo($id1, null, $fadeOut);
|
||||
$this->changeFadeInfo($id2, $fadeIn, null, $offset);
|
||||
if (isset($id1)) {
|
||||
$this->changeFadeInfo($id1, null, $fadeOut);
|
||||
}
|
||||
if (isset($id2)) {
|
||||
$this->changeFadeInfo($id2, $fadeIn, null, $offset);
|
||||
}
|
||||
|
||||
$this->con->commit();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue