diff options
author | Clay John <claynjohn@gmail.com> | 2022-10-23 17:11:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-23 17:11:06 -0700 |
commit | 040f49ed6e71a6e7f23d763c4b56095cbf319ef7 (patch) | |
tree | 1189cf5a1f211b7f8b04fb5ac07dc62325c7468e /scene/resources | |
parent | 9be3fd640b4e14165141740ec57acc0878f77424 (diff) | |
parent | fe65d7aa7b5863d3473f16618fdae67c7b623757 (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.h | 3 |
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; |