procedure TGLBaseSceneObject.EndUpdate;
begin
if FUpdateCount > 0 then
begin
Dec(FUpdateCount);
if FUpdateCount = 0 then
NotifyChange(Self);
end
else
Assert(False, glsUnBalancedBeginEndUpdate);
end;
I have searched for information about this message but there is only indication of the text resource file, where the message is included.
Any idea,
Thanks!!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Fisad the problem come from your code in your application. You should free a reference of one of your objets. So it cause AV. Impossible to say anithing more without the piece of your code where exception is raise.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Jerome, I understand that the problem is in my code, what I needed to know about what is based on the error, because this happens only when my drawing has more than 15,000 or 20,000 meshes, which makes it difficult to find the source of the problem.
An interesting thing is that when I run the program without debugging it from the Delphi IDE, the problem is presented immediately but, if I run the program with active debugging, the execution is extremely slow but the problem disappears, which makes it impossible to detect when the error occurs. I think it may be a problem of refreshment of some objects?
Last edit: Fisad 2018-09-18
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is no error when I execute the process step by step.
When finish creating thousands of meshes, the drawing is adjusted to the center and then rotated to a predetermined view, in this process the error is generated only if the code runs without interruptions ??
Last edit: Fisad 2018-09-18
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
How can I resolve this error message?, after:
I have searched for information about this message but there is only indication of the text resource file, where the message is included.
Any idea,
Thanks!!
Hi Fisad the problem come from your code in your application. You should free a reference of one of your objets. So it cause AV. Impossible to say anithing more without the piece of your code where exception is raise.
Hi Jerome, I understand that the problem is in my code, what I needed to know about what is based on the error, because this happens only when my drawing has more than 15,000 or 20,000 meshes, which makes it difficult to find the source of the problem.
An interesting thing is that when I run the program without debugging it from the Delphi IDE, the problem is presented immediately but, if I run the program with active debugging, the execution is extremely slow but the problem disappears, which makes it impossible to detect when the error occurs. I think it may be a problem of refreshment of some objects?
Last edit: Fisad 2018-09-18
Hi, the problem comes from this function (**):
There is no error when I execute the process step by step.
When finish creating thousands of meshes, the drawing is adjusted to the center and then rotated to a predetermined view, in this process the error is generated only if the code runs without interruptions ??
Last edit: Fisad 2018-09-18
Hi Fisad Try by surrounding your code with BeginUpdate..EndUpdate in the right place. Perhaps you forgot one "BeginUpdate" chek that in your code.