mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
mark dirty on read()
This commit is contained in:
parent
efad95a5ea
commit
95ce87293d
@ -251,6 +251,8 @@ INLINE bool Texture::
|
||||
load(const PNMImage &pnmimage) {
|
||||
MutexHolder holder(_lock);
|
||||
do_clear();
|
||||
++_properties_modified;
|
||||
++_image_modified;
|
||||
return do_load_one(pnmimage, get_name(), 0, 0);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user