From 86fb5478c73dfc6249757db8ac4f3a26521a3d3c Mon Sep 17 00:00:00 2001 From: Pavel Novak <40606552+PavelNo@users.noreply.github.com> Date: Thu, 5 Aug 2021 14:40:28 +0100 Subject: [PATCH 1/2] Fixing path to GLScene.inc Wrong path to GLScene.inc caused error during compilation in Lazarus 2.0.8 & FPC 3.0.4 --- Source/FGUISkinEditor.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/FGUISkinEditor.pas b/Source/FGUISkinEditor.pas index c13138b..cdc218b 100644 --- a/Source/FGUISkinEditor.pas +++ b/Source/FGUISkinEditor.pas @@ -8,7 +8,7 @@ interface -{$I ../GLScene.inc} +{$I GLScene.inc} uses lresources, From 19014a8991951434ada4ce03177bcbac83ee5f30 Mon Sep 17 00:00:00 2001 From: PavelNo <40606552+PavelNo@users.noreply.github.com> Date: Thu, 5 Aug 2021 14:56:03 +0100 Subject: [PATCH 2/2] Fixing incorrect pathways --- Source/GLObjectManager.pas | 2 +- Source/GLRandomGenerator.pas | 2 +- Source/GLSceneRegister.pas | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/GLObjectManager.pas b/Source/GLObjectManager.pas index 7143a72..4e5efcd 100644 --- a/Source/GLObjectManager.pas +++ b/Source/GLObjectManager.pas @@ -493,7 +493,7 @@ procedure TGLObjectManager.DestroySceneObjectList; initialization -{$I ../../Resources/GLSceneObjects.lrs} +{$I ../Resources/GLSceneObjects.lrs} end. diff --git a/Source/GLRandomGenerator.pas b/Source/GLRandomGenerator.pas index bce30db..0381f06 100644 --- a/Source/GLRandomGenerator.pas +++ b/Source/GLRandomGenerator.pas @@ -21,7 +21,7 @@ Interface -{$I ../GLScene.inc} +{$I GLScene.inc} Uses Classes, Sysutils; diff --git a/Source/GLSceneRegister.pas b/Source/GLSceneRegister.pas index f6284f5..1187aab 100644 --- a/Source/GLSceneRegister.pas +++ b/Source/GLSceneRegister.pas @@ -1492,7 +1492,7 @@ procedure Register; initialization -{$I ../../Resources/GLScene.lrs} +{$I ../Resources/GLScene.lrs} GLColor.vUseDefaultColorSets := True; GLCoordinates.vUseDefaultCoordinateSets := True;