Page 1 of 1

Why is the error happen?

Posted: Thu Mar 24, 2016 9:29 am
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.

Re: Why is the error happen?

Posted: Thu Mar 24, 2016 12:27 pm
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.

Re: Why is the error happen?

Posted: Fri Mar 25, 2016 12:47 am
by Eiji Kurihara
Thank you. In dead, It happens in release version in my case.
I commented this part.
Sincerely,