The following is the description for the workaround when using Windows with
INI files. For the Mac version you can either use INI files or simply add
the one line as the first function in your scene as suggested previously.
Create a scene file with one line
#declare foo__ = function { 0 } // or any other unused name
Save the scene file under whatever name you like in a location that is
readable by the file io restrictions and a valid include directory. Lets
say you named the file "workaround.inc". Now open your povray.ini file and
add this line to it.
Include_Header=workaround.inc
Note that you may only have one Include_Header per scene, so this workaround
will require you to disable any other Include_Header option you might have.
This will permanently work around all problems with functions in beta 8.
The problem will be resolved in the next beta version.
Thorsten
____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg
I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|