summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorClay John <claynjohn@gmail.com>2022-10-23 17:11:06 -0700
committerGitHub <noreply@github.com>2022-10-23 17:11:06 -0700
commit040f49ed6e71a6e7f23d763c4b56095cbf319ef7 (patch)
tree1189cf5a1f211b7f8b04fb5ac07dc62325c7468e /scene/resources
parent9be3fd640b4e14165141740ec57acc0878f77424 (diff)
parentfe65d7aa7b5863d3473f16618fdae67c7b623757 (diff)
Merge pull request #67390 from groud/more_conservative_terrain_painting
Make terrain painting not change neighbors centers bits
Diffstat (limited to 'scene/resources')
-rw-r--r--scene/resources/tile_set.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/resources/tile_set.h b/scene/resources/tile_set.h
index e156679711..8f175e99a6 100644
--- a/scene/resources/tile_set.h
+++ b/scene/resources/tile_set.h
@@ -277,6 +277,9 @@ public:
bool operator<(const TerrainsPattern &p_terrains_pattern) const;
bool operator==(const TerrainsPattern &p_terrains_pattern) const;
+ bool operator!=(const TerrainsPattern &p_terrains_pattern) const {
+ return !operator==(p_terrains_pattern);
+ };
void set_terrain(int p_terrain);
int get_terrain() const;