initialize boolean grid.painted
This commit is contained in:
parent
ff271853ce
commit
dc813167c7
1 changed files with 4 additions and 2 deletions
|
@ -77,7 +77,8 @@ public:
|
||||||
key_(key),
|
key_(key),
|
||||||
data_(width,height),
|
data_(width,height),
|
||||||
resolution_(resolution),
|
resolution_(resolution),
|
||||||
id_name_("__id__") {
|
id_name_("__id__"),
|
||||||
|
painted_(false) {
|
||||||
// this only works if each datasource's
|
// this only works if each datasource's
|
||||||
// feature count starts at 1
|
// feature count starts at 1
|
||||||
f_keys_[0] = "";
|
f_keys_[0] = "";
|
||||||
|
@ -89,7 +90,8 @@ public:
|
||||||
key_(rhs.key_),
|
key_(rhs.key_),
|
||||||
data_(rhs.data_),
|
data_(rhs.data_),
|
||||||
resolution_(rhs.resolution_),
|
resolution_(rhs.resolution_),
|
||||||
id_name_("__id__") {
|
id_name_("__id__"),
|
||||||
|
painted_(rhs.painted_) {
|
||||||
f_keys_[0] = "";
|
f_keys_[0] = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue