Skip to content

Commit

Permalink
Bump to snapshots and 5.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
michaliskambi committed Aug 28, 2024
1 parent 253d026 commit ee9275f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 28 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ on:
env:
# To which GitHub release tag should we upload artifacts.
# Can be "snapshot" or "vX.Y.Z" (latter when we make stable release).
#release_tag: snapshot
release_tag: v5.2.0
release_tag: snapshot
#release_tag: vX.Y.Z

# Which Castle Game Engine tag/branch to use for building.
# This *should* be "snapshot", which is our latest CGE that passed automatic tests.
Expand Down
2 changes: 1 addition & 1 deletion CastleEngineManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<dependency name="OggVorbis" /> <!-- read .ogg -->
<dependency name="Https" /> <!-- read https links -->
</dependencies>
<version value="5.2.0" code="13" />
<version value="5.3.0" code="14" />
<package>
<include path="README.md" />
<include path="COPYING.GPL2.txt" />
Expand Down
23 changes: 0 additions & 23 deletions code/v3dsceneraytrace.pas
Original file line number Diff line number Diff line change
Expand Up @@ -51,29 +51,6 @@ implementation
V3DSceneStatus, V3DSceneWindow;
{$warnings on}

{ TODO: Copy from new CGE code, to make 5.2.0 compatible with engine 7.0-alpha.3.
Remove when bumping version to 5.3.0. }
{ Create spatial structure to resolve collisions in the given scene.
Caller is responsible for freeing the result. }
function CreateOctreeVisibleTrianglesForScene(
const Scene: TCastleSceneCore): TTriangleOctree;
var
ShapeList: TShapeList;
Shape: TShape;
begin
Result := TTriangleOctree.Create(DefTriangleOctreeLimits, Scene.LocalBoundingBox);
try
Result.Triangles.Capacity := Scene.TrianglesCount;
ShapeList := Scene.Shapes.TraverseList(
{ OnlyActive } true,
{ OnlyVisible } true,
{ OnlyCollidable } false
);
for Shape in ShapeList do
Shape.Triangulate({$ifdef FPC}@{$endif} Result.AddItemTriangle);
except Result.Free; raise end;
end;

const
DefaultPrimarySamplesCount = 1;
DefaultNonPrimarySamplesCount = 4;
Expand Down
2 changes: 1 addition & 1 deletion code/v3dsceneversion.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
unit V3DSceneVersion;
interface
const
Version = '5.2.0';
Version = '5.3.0';
ViewerUrl = 'https://castle-engine.io/castle-model-viewer';
SupportURL = 'https://www.patreon.com/castleengine';
implementation
Expand Down
2 changes: 1 addition & 1 deletion pack/snap/snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: castle-model-viewer
# The base snap is the execution environment for this snap.
base: core20

version: '5.2.0'
version: '5.3.0'
summary: Viewer for 3D and 2D models - glTF, X3D, VRML, Spine JSON and more # 79 char long summary
description: |
Viewer for all 3D and 2D models suported by Castle Game Engine:
Expand Down

0 comments on commit ee9275f

Please sign in to comment.