POV-Ray : Newsgroups : povray.general : ERROR: no matching } in object, object found instead : Re: ERROR: no matching } in object, object found instead Server Time
20 Apr 2024 08:53:38 EDT (-0400)
  Re: ERROR: no matching } in object, object found instead  
From: clipka
Date: 29 Jan 2018 11:11:40
Message: <5a6f47bc$1@news.povray.org>
Am 29.01.2018 um 11:51 schrieb Stephen:
> On 29/01/2018 10:25, Sven Littkowski wrote:
>> Why am I getting an error "no matching } in object, object found
>> instead"?
> 
> Commenting out the line below allows the script to run.
> So you can take it from there. I'm not very good with macros. It looks
> complicated to me.
> 
> // object { MyOrbisiana(MyRandom) rotate < MyX, MyY, MyZ > translate <
> hisPX, ThisPY, ThisPZ > }

MyOrbisiana(R) essentially "unrolls"

    object { ... }
    object { ... }
    ...

etc., so the above line "unrolls" to

    object {
      object { ... }
      object { ... }
      ...
    }

You can't have multiple `object` statements in an `object` block. You
probably want a `union` somewhere.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.