POV-Ray : Newsgroups : povray.newusers : Chicken or the egg? : Re: Chicken or the egg? Server Time
4 Nov 2024 13:33:07 EST (-0500)
  Re: Chicken or the egg?  
From: TinCanMan
Date: 16 Dec 2002 17:56:26
Message: <3dfe5a1a@news.povray.org>
"LibraryMan" <mrm### [at] attnet> wrote in message
news:3DFA51CE.574CF362@att.net...
> I just discovered I declared the same object twice, both in the actual
> POV file and once in one of its INC files.  Which version is taking
> precedence?  (I'm not getting any error messages about it).
> Thanks!
> Mark (aka LibraryMan)

Whichever came last.

If the object is declared in the scene after the .inc is #included, the .pov
object will be used, or if the #include is after the declared object, the
.inc one is used.

-tgq


Post a reply to this message

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