POV-Ray : Newsgroups : povray.advanced-users : Detecting .inc file inclusion from another file : Detecting .inc file inclusion from another file Server Time
28 Sep 2024 18:55:37 EDT (-0400)
  Detecting .inc file inclusion from another file  
From: stbenge
Date: 19 Jun 2010 16:37:33
Message: <4c1d2a8d@news.povray.org>
Hi,

Is there a method for finding out if an .inc file was included from 
another file, within the included file itself? For instance, if I wanted 
to make an include file which doubles as both an include *and* a scene 
file, I would not want the camera, lights, etc. to be included along 
with it.

Sam


Post a reply to this message

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