POV-Ray : Newsgroups : povray.general : test if object has been created : Re: test if object has been created Server Time
30 Jul 2024 10:23:49 EDT (-0400)
  Re: test if object has been created  
From: John VanSickle
Date: 8 Mar 2009 12:04:58
Message: <49b3ecaa$1@news.povray.org>
[GDS|Entropy] wrote:
> How might one test if an object has been created by a macro which may or may 
> not produce an object, based upon various unpredictable factors? I'm trying 
> to avoid the "need more than 1 object in csg" warnings.

Either set a flag:

   #define YeahItWasCreated=true;

or print feedback to the console:

   #debug "Yeah, it was created.\n"

Happy to help,
John


Post a reply to this message

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