Why is the error happen?

Feel free to ask any question here
Post Reply
Eiji Kurihara
Posts: 24
Joined: Mon Mar 14, 2016 1:35 am

Why is the error happen?

Post by Eiji Kurihara »

After opening CloudCompare v2.6.3 beta [32bits] viewer screen, if I push the screen window by the mouse,
the following error dialog appears:
Assertion failed!
Program:...
File: C:\Users\...\ccIncludeGL.h
Line:217
Expression: false
It happens
//The result normalizes between -1 and 1
if (Pp.w == 0.0)
{
assert(false);
return false;
}
in this program ccIncludeGL.h.
Is there a way to prevent this?
Sincerely.
daniel
Site Admin
Posts: 7721
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Why is the error happen?

Post by daniel »

Indeed it only happens in debug mode if you don't load anything before moving the mouse.

The 'assert(false);' line can be safely commented out to avoid this issue.
Daniel, CloudCompare admin
Eiji Kurihara
Posts: 24
Joined: Mon Mar 14, 2016 1:35 am

Re: Why is the error happen?

Post by Eiji Kurihara »

Thank you. In dead, It happens in release version in my case.
I commented this part.
Sincerely,
Post Reply