POV-Ray : Newsgroups : povray.bugreports : The picture does not change even if the code is modified. Server Time
28 Mar 2024 10:30:41 EDT (-0400)
  The picture does not change even if the code is modified. (Message 11 to 13 of 13)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: B  Gimeno
Subject: Re: The picture does not change even if the code is modified.
Date: 6 Jan 2014 13:50:00
Message: <web.52cafa6434a4d024ae2fd8290@news.povray.org>
"Sherry K. Shaw" <ten### [at] aolcom> wrote:
> B. Gimeno wrote:
> > ...
> > 5.- Press Ctrol-Z ONCE...
>
> Are you using autosave?  I haven't tried this on the current POV
> version, but I've noticed that in older versions, the "clean code/dirty
> code" detector DOES NOT DISTINGUISH between changes with the same number
> of keystrokes with a Ctrl-Z between them.  That is, if you type a line,
> save, use Ctrl-Z to undo the last character, and then type a different
> character, the editor doesn't recognize that the code has changed.
>
> I know I'm not explaining this very well, since my fingers and my brain
> are all very cold right now ;) but if you watch the save button
> (grayed-out when the code is "clean") you can see this happen.
>
> --Sherry Shaw

I'm not quite sure I understand, but I've checked the source code of the two
objects do not have the same length and that the error does not occur if any
other key is pressed. Furthermore, when the second object is inserted the Save
button is not active, as someone mentioned before.

I have not been able to repeat this error with version 3.6 using the same 64-bit
computer with Windows 7.

B. Gimeno


Post a reply to this message

From: Fractracer
Subject: Re: The picture does not change even if the code is modified.
Date: 6 Jan 2014 14:00:00
Message: <web.52cafc1634a4d024673d78420@news.povray.org>
"B. Gimeno" <nomail@nomail> wrote:
> > I don't know what error you see? The first torus is orange and on the ground,
> > the second is grey and vertical (since a rotation on x-axis is apply). All seems
> > correct.
>
> Have you followed the instructions exactly?
> If you have generated three images, the first should be a yellow torus torus and
> the following two a gray torus. If you get two gray torus following my steps
> WITHOUT TOUCHING ANY OTHER KEY, let us know, please. I have found that the
> result is correct if touched (for example) the spacebar.
>
> Regards,
> B. Gimeno

You are right, the bug is alive and well! Maybe I have use some aother keys...

Lionel.


Post a reply to this message

From: Sherry K  Shaw
Subject: Re: The picture does not change even if the code is modified.
Date: 7 Jan 2014 17:54:59
Message: <52cc85c3$1@news.povray.org>
B. Gimeno wrote:

>
> I'm not quite sure I understand, but I've checked the source code of the two
> objects do not have the same length and that the error does not occur if any
> other key is pressed.

The issue that I have seen is not with the length of the inserted code 
but rather with the actual number of physical keystrokes before and 
after the Undo operation.

Furthermore, when the second object is inserted the Save
> button is not active, as someone mentioned before.
>

If the Save button is not active, then this indicates that the editor 
does not recognize that the code has been changed since the last save. 
This becomes a problem with the autosave feature only because (1) the 
editor saves before running only if it recognizes that the code has 
changed since the last save and run; and (2) with autosaving enabled, 
there is no obvious warning that the changed code has not been saved. 
Thus, it is easily possible for the renderer dutifully to render the 
saved file, while properly ignoring the unsaved code in the editor, and 
to produce great confusion in the human at the keyboard--please note 
that I'm speaking from experience here.  ;)  I don't know if this is 
what's happening here, but the Ctrl-Z in the middle makes me suspect 
that this is the case.

--Sherry Shaw


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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