Hello,
I just installed glscene from svn (6467). It works on XE6 as previous.
It was also good installed in XE7 environment, BUT, in designtime i get glsceneviewer not working and still having a window (formally a window) undocked without anything inside.
If I close it XE7 IDE close.
If I do something I recieve errors and IDE close.
Does anyone have idea of what's happening and how to solve it?
thanks in advance,
Filippo
Filippo Forlani
www.filippoforlani.org
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I ran into the same problem. This is a separate render window TGLSceneViewer. In addition to random closings IDE and other glitches, render this window greatly retarding the entire RAD Studio, it becomes impossible to print.
I found the solution:
By default, the source code GLScene, when creating a component TGLSceneViewer set to "roRenderToWindow".
Apparently in previous versions of RAD Studio, it had no effect. You can disable this option in every new project in the properties of the component, but I have thus crashes IDE.
So I disabled this option in the source code files GLScene.pas (in types by default when creating a component), as well as in GLSceneFormDesign.pas
Forgive sorry for bad English, this is Google Translate.
Dmitrii, do you have SDL package components installed in IDE when it crashes? Usually it's the cause of problems, so uninstall this package only and try again your application.
Last edit: Pavel Vassiliev 2014-11-06
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I just installed glscene from svn (6467). It works on XE6 as previous.
It was also good installed in XE7 environment, BUT, in designtime i get glsceneviewer not working and still having a window (formally a window) undocked without anything inside.
If I close it XE7 IDE close.
If I do something I recieve errors and IDE close.
Does anyone have idea of what's happening and how to solve it?
thanks in advance,
Filippo
Filippo Forlani
www.filippoforlani.org
Hello.
I ran into the same problem. This is a separate render window TGLSceneViewer. In addition to random closings IDE and other glitches, render this window greatly retarding the entire RAD Studio, it becomes impossible to print.
I found the solution:
By default, the source code GLScene, when creating a component TGLSceneViewer set to "roRenderToWindow".
Apparently in previous versions of RAD Studio, it had no effect. You can disable this option in every new project in the properties of the component, but I have thus crashes IDE.
So I disabled this option in the source code files GLScene.pas (in types by default when creating a component), as well as in GLSceneFormDesign.pas
Forgive sorry for bad English, this is Google Translate.
GLScene.pas:
property ContextOptions: TContextOptions read FContextOptions write
SetContextOptions default [roDoubleBuffer, {roRenderToWindow,} roDebugContext];
FContextOptions := [roDoubleBuffer, {roRenderToWindow,} roDebugContext];
GLSceneFormDesign.pas (in 2 places):
' Buffer.ContextOptions = [roDoubleBuffer, roStencilBuffer{, roRenderToWindow}]' + LineEnding +
Last edit: Dmitrii 2014-11-03
Dmitrii, do you have SDL package components installed in IDE when it crashes? Usually it's the cause of problems, so uninstall this package only and try again your application.
Last edit: Pavel Vassiliev 2014-11-06
Pavel, you're right. I removed SDL package components and a separate render window just stopped appearing.
Thank you.
Last edit: Dmitrii 2014-11-06
great, thanks to all, that solved the problem!
Last edit: Filippo Forlani 2015-01-02