| 96 |
|
priorityNormal=field("rbPriorityNormal").toBool(); |
| 97 |
|
priorityHigh=field("rbPriorityHigh").toBool(); |
| 98 |
|
priorityHighest=field("rbPriorityHighest").toBool(); |
| 99 |
+ |
interruptOnStop=field("cbInterruptOnStop").toBool(); |
| 100 |
+ |
playOnce=field("cbPlayOnce").toBool(); |
| 101 |
+ |
canPan=field("cbCanPan").toBool(); |
| 102 |
|
|
| 103 |
|
if(priorityNormal){ |
| 104 |
|
priority="Normal"; |
| 125 |
|
flags << "CanPan"; |
| 126 |
|
} |
| 127 |
|
|
| 125 |
– |
interruptOnStop=field("cbInterruptOnStop").toBool(); |
| 126 |
– |
playOnce=field("cbPlayOnce").toBool(); |
| 127 |
– |
canPan=field("cbCanPan").toBool(); |
| 128 |
– |
|
| 128 |
|
sphereRadious=Util::normalizeDecimalSeparator(field("leSphereRadious").toString()); |
| 129 |
|
minElapsedTime=Util::normalizeDecimalSeparator(field("leMinElapsedTime").toString()); |
| 130 |
|
maxElapsedTime=Util::normalizeDecimalSeparator(field("leMaxElapsedTime").toString()); |
| 205 |
|
|
| 206 |
|
(*this->xmlCommands) |
| 207 |
|
<< "--replace-all-values -e Priority -n "+Util::insertQuotes(priority)+" -f "+Util::insertQuotes(ambFileLocation)+" --no-backups --no-verbose" |
| 208 |
< |
<< "--replace-all-values -e Flags -n "+(flags.join(" ").isEmpty() ? "\" \"" : Util::insertQuotes(flags.join(" ")))+" -f "+Util::insertQuotes(ambFileLocation)+" --no-backups --no-verbose" |
| 208 |
> |
<< "--replace-all-values -e Flags -n "+(flags.join(" ").isEmpty() ? Util::insertQuotes("") : Util::insertQuotes(flags.join(" ")))+" -f "+Util::insertQuotes(ambFileLocation)+" --no-backups --no-verbose" |
| 209 |
|
<< "--replace-all-values -e SphereRadius -n "+Util::insertQuotes(sphereRadious)+" -f "+Util::insertQuotes(ambFileLocation)+" --no-backups --no-verbose" |
| 210 |
|
<< "--replace-all-values -e Treshold -n "+Util::insertQuotes(treshold)+" -f "+Util::insertQuotes(ambFileLocation)+" --no-backups --no-verbose" |
| 211 |
|
<< "--replace-all-values -e MinOcclusion -n "+Util::insertQuotes(minOcclusion)+" -f "+Util::insertQuotes(ambFileLocation)+" --no-backups --no-verbose" |