|
|
Regarding the problem reported in povray.general (thread with same subject)
it seems to be a bug in the function
void FNCode::compile_seq_op(ExprNode *expr, unsigned int op, DBL neutral)
Changing the line (1298)
level = max(((int)(level)) - 2, 0) + min(level + 1, 3) + 3;
with:
level = max(((int)(level)) - 2, 0) + min(level + 1, 3) + 6;
seems to fix. But I'm not sure this is the correct solution, but could
be a starting point.
Massimo
Post a reply to this message
|
|
|
|
In article <3e1f197f$1@news.povray.org> , "Massimo Valentini"
<six### [at] inwindit> wrote:
> Changing the line (1298)
>
> level = max(((int)(level)) - 2, 0) + min(level + 1, 3) + 3;
>
> with:
> level = max(((int)(level)) - 2, 0) + min(level + 1, 3) + 6;
>
> seems to fix. But I'm not sure this is the correct solution, but could
> be a starting point.
It ain't. It just hides it. The problem is far more complex and related to
the way the stack is handled and calculated.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|