Issues.00426 - lordmundi/wikidoctest GitHub Wiki

00426: defines not getting substituted in all blocks

« 00425 | Issues | 00427 »

Summary: defines not getting substituted in all blocks

Created: 2012–07–20 15:00

Status: Not an Issue

Category: Bug

From: frankie

Version: 2.2

Released_In:

Description:

In some blocks, such as the models block, values that are defined are not being substituted. The following is an example situation:

DSP_CONFIG
{
    DEFINES
    {
        RING_SCALE     1.0
    }

    DATA
    {
        SCENE_LOAD
        {
            MODELS
            {
                node(ring1); model(ring.ac); scale(${RING_SCALE}, ${RING_SCALE}, ${RING_SCALE});

            }
...

Comments

frankie July 26, 2012, at 11:05 AM: Doh! This was an incredibly bonehead issue on my part. It turns out I left out the ${} around the defines where I wanted to use it. I updated the above code to have them in there, just in case anyone comes across it in a search. But in any case, there is no issue. This works just fine.


« 00425 | Issues | 00427 »

Associated Commits