mark dirty on read()

This commit is contained in:
David Rose 2008-09-11 23:17:35 +00:00
parent efad95a5ea
commit 95ce87293d

View File

@ -251,6 +251,8 @@ INLINE bool Texture::
load(const PNMImage &pnmimage) { load(const PNMImage &pnmimage) {
MutexHolder holder(_lock); MutexHolder holder(_lock);
do_clear(); do_clear();
++_properties_modified;
++_image_modified;
return do_load_one(pnmimage, get_name(), 0, 0); return do_load_one(pnmimage, get_name(), 0, 0);
} }