POV-Ray : Newsgroups : povray.general : POV crash with functions : POV crash with functions Server Time
3 Aug 2024 20:14:14 EDT (-0400)
  POV crash with functions  
From: JC (Exether)
Date: 10 Nov 2003 14:30:06
Message: <3fafe73e@news.povray.org>
I tried to post this message three times in P.bugreports and it didn't 
work, sorry if I'm multiposting.

So I wrote the following:


#macro F_Plane ()
   #local fn_p=function (x,y,z) { y };
   fn_p
//  function (x,y,z) { fn_p (x,y,z) }
#end

#local F1= F_Plane();

#declare fn_crash = function(x,y,z) { F1(x,y,z) }


and got a POV access violation (official Win32 POV (MegaPOV crashes 
too)). Commented code is a workaround.

I hope that helps,

JC


Post a reply to this message

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