An optional scene is only rendered when the condition variable is set. It does not matter what the actual value is, only that it is provided. Therefore you must not set a default value for the variable, otherwise the condition is always met and the scene is always rendered.
<scene type="optional" condition="${var}"> Layer defintions . . . </scene>
Terms of Use | © 2017, Impossible Software, or its affiliates.