summaryrefslogtreecommitdiffstats
path: root/scene/resources/2d/tile_set.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/2d/tile_set.h')
-rw-r--r--scene/resources/2d/tile_set.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/resources/2d/tile_set.h b/scene/resources/2d/tile_set.h
index b55afd2de5..c17241a436 100644
--- a/scene/resources/2d/tile_set.h
+++ b/scene/resources/2d/tile_set.h
@@ -299,6 +299,10 @@ protected:
void _get_property_list(List<PropertyInfo> *p_list) const;
void _validate_property(PropertyInfo &p_property) const;
+#ifdef TOOLS_ENABLED
+ virtual uint32_t hash_edited_version_for_preview() const override { return 0; } // Not using preview, so disable it for performance.
+#endif
+
private:
// --- TileSet data ---
// Basic shape and layout.