No statistics for image fields

This commit is contained in:
Twan van Laarhoven
2020-06-01 14:20:18 +02:00
parent f9d18ac3c8
commit ff86f928ee
+3
View File
@@ -23,6 +23,9 @@ DECLARE_POINTER_TYPE(ImageValue);
/// A field for image values
class ImageField : public Field {
public:
ImageField() {
show_statistics = false; // no statistics on image fields by default, that just leads to errors
}
// no extra data
DECLARE_FIELD_TYPE(Image);
};