|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
The POV file should take precedence. However, try changing slightly one of
them and it'll be easy to discover the truth.
--
Red Golpe
_____________________________________________
"What doesn't kill you... makes you stronger"
Jean-Baptiste Emmanuel Zorg
http://redgolpe.com
____________________________________________
"LibraryMan" <mrm### [at] attnet> ha scritto nel messaggio
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)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3DFA51CE.574CF362@att.net>, LibraryMan <mrm### [at] attnet>
wrote:
> 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).
Assuming you didn't use #local, whichever one is reached last. A
declaration replaces a previous declaration with the same name and scope.
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
LibraryMan wrote:
> 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)
Well, try making a subtle, yet noticable change in one, and see if it
changes.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"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
|
|
| |
| |
|
|
|
|
| |