Skip to content

Commit

Permalink
fix: added Globalclass contracts. (closes #31)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sythelux committed Jul 27, 2023
1 parent 1b709af commit 4e15e4d
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 1,127 deletions.
1,126 changes: 3 additions & 1,123 deletions Scenes/Terrain3D.tscn

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion addons/TerrainPlugin/Shader/TerrainVisualShader.tres
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ shader_parameter/terrainUvScale = null
shader_parameter/terrainUvOffset = null
shader_parameter/terrainChunkSize = 0.0
shader_parameter/terrainNextLodChunkSize = 0.0
shader_parameter/terrainNeighborLod = Quaternion(0, 0, 0, 0)
shader_parameter/terrainNeighborLod = Vector4(0, 0, 0, 0)
shader_parameter/terrainCurrentLodLevel = 0.0
shader_parameter/terrainSmoothing = false
shader_parameter/BrushData0 = null
Expand Down
1 change: 1 addition & 0 deletions addons/TerrainPlugin/Terrain3D.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

namespace TerrainEditor;

[GlobalClass]
[Tool]
public partial class Terrain3D : Node3D
{
Expand Down
2 changes: 1 addition & 1 deletion addons/TerrainPlugin/TerrainChunk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace TerrainEditor;

[Tool]
[GlobalClass]
public partial class TerrainChunk : Resource
{
[Export]
Expand Down
1 change: 1 addition & 0 deletions addons/TerrainPlugin/TerrainMapBox3D.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
namespace TerrainEditor;

[Tool]
[GlobalClass]
public partial class TerrainMapBox3D : Terrain3D
{
[ExportCategory("Terrain Mapbox")]
Expand Down
2 changes: 1 addition & 1 deletion addons/TerrainPlugin/TerrainPatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace TerrainEditor;

[Tool]
[GlobalClass]
public partial class TerrainPatch : Resource
{
private Array<ImageTexture> splatMaps = new();
Expand Down
2 changes: 1 addition & 1 deletion addons/TerrainPlugin/TerrainPatchInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace TerrainEditor;

[Tool]
[GlobalClass]
public partial class TerrainPatchInfo : Resource
{
[Export]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#nullable enable
using Godot;
using System;
using TerrainEditor.Converters;
Expand Down

0 comments on commit 4e15e4d

Please sign in to comment.