POV-Ray : Newsgroups : povray.beta-test : [win gui] line with error highlighted but render finished succesfully Server Time
30 Jul 2024 08:23:53 EDT (-0400)
  [win gui] line with error highlighted but render finished succesfully (Message 1 to 2 of 2)  
From:
Subject: [win gui] line with error highlighted but render finished succesfully
Date: 23 Nov 2001 12:44:37
Message: <va2tvt4tuitd67ik5t9ps334sbg6205bt3@4ax.com>
POV 3.5 b7 on PII 233 128 MB with NT 4.0 Sp 6 

It's nothing important but when script contains refference (i.e. with #fopen ...
write) to file in not existing directory then "Cannot open user file" error is
returned from parser. When I create this directory and return to POV and click
on Render button again then the parser works fine, renderer works fine but after
rendering the line in script with #fopen line is still highlighted.

ABX
--
#declare _=function(a,b,x){((a^2)+(b^2))^.5-x}#default {pigment{color rgb 1}}
union{plane{y,-3}plane{-x,-3}finish{reflection 1 ambient 0}}isosurface{ //ABX
function{_(x-2,y,1)|_((x+y)*.7,z,.1)|_((x+y+2)*.7,z,.1)|_(x/2+y*.8+1.5,z,.1)}
contained_by{box{<0,-3,-.1>,<3,0,.1>}}translate z*15finish{ambient 1}}//POV35


Post a reply to this message

From:
Subject: Re: [win gui] line with error highlighted but render finished succesfully
Date: 16 May 2002 14:28:17
Message: <kau7eusu4bprpuglrffnc4r22q6f0tma6u@4ax.com>

wrote:
> POV 3.5 b7 on PII 233 128 MB with NT 4.0 Sp 6 
>
> It's nothing important but when script contains refference (i.e. with #fopen ...
> write) to file in not existing directory then "Cannot open user file" error is
> returned from parser. When I create this directory and return to POV and click
> on Render button again then the parser works fine, renderer works fine but after
> rendering the line in script with #fopen line is still highlighted.

This problem still appears in RC4. General rule is: if parsing stops with
error message then line in editor is highlited. If reason is fixed outside
poveditor (for example missed image for texturing is copied to correct
location) and parsing started again with succesfull rendering then highlight
of error isn't removed.

ABX


Post a reply to this message

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