mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 20:29:35 +01:00
a real, working fix for panning regression in alpha6
git-svn-id: svn://localhost/ardour2/branches/3.0@9725 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
395ba6b0d4
commit
22a4f44939
1 changed files with 5 additions and 5 deletions
|
|
@ -236,27 +236,27 @@ Pannable::set_state (const XMLNode& root, int version)
|
|||
|
||||
/* old school (alpha1-6) XML info */
|
||||
|
||||
if ((*niter)->name() == pan_azimuth_control->name()) {
|
||||
if ((*niter)->name() == X_("azimuth")) {
|
||||
prop = (*niter)->property (X_("value"));
|
||||
if (prop) {
|
||||
pan_azimuth_control->set_value (atof (prop->value()));
|
||||
}
|
||||
} else if ((*niter)->name() == pan_width_control->name()) {
|
||||
} else if ((*niter)->name() == X_("width")) {
|
||||
prop = (*niter)->property (X_("value"));
|
||||
if (prop) {
|
||||
pan_width_control->set_value (atof (prop->value()));
|
||||
}
|
||||
} else if ((*niter)->name() == pan_elevation_control->name()) {
|
||||
} else if ((*niter)->name() == X_("elevation")) {
|
||||
prop = (*niter)->property (X_("value"));
|
||||
if (prop) {
|
||||
pan_elevation_control->set_value (atof (prop->value()));
|
||||
}
|
||||
} else if ((*niter)->name() == pan_frontback_control->name()) {
|
||||
} else if ((*niter)->name() == X_("frontback")) {
|
||||
prop = (*niter)->property (X_("value"));
|
||||
if (prop) {
|
||||
pan_frontback_control->set_value (atof (prop->value()));
|
||||
}
|
||||
} else if ((*niter)->name() == pan_lfe_control->name()) {
|
||||
} else if ((*niter)->name() == X_("lfe")) {
|
||||
prop = (*niter)->property (X_("value"));
|
||||
if (prop) {
|
||||
pan_lfe_control->set_value (atof (prop->value()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue