Am 10.01.2014 23:11, schrieb posfan12:
> > Actually, I'm pretty sure you can switch it on the fly. I already
> > have code to do this in another situation (although I haven't been
> > able to track down what I can do to trigger the code). The output
> > looks something like so:
>
> > #if (version > 3.6) #version 3.6; #end
> > #include "somefile.inc"
> > #if (version < LDXOrigVer) #version LDXOrigVer; #end
>
> Does this still work in POV 3.7?
Yes, although it will warn you that #version isn't the first statement
in the scene file.
You can suppress the warning by using the following syntax:
#version version;
#if (version > 3.6) #version 3.6; #end
#include "somefile.inc"
#if (version < LDXOrigVer) #version LDXOrigVer; #end
Post a reply to this message
|