mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
fix make_copy()
This commit is contained in:
parent
3fcd2a764e
commit
b6ad665ef5
@ -29,7 +29,11 @@
|
|||||||
INLINE PT(Texture) Texture::
|
INLINE PT(Texture) Texture::
|
||||||
make_copy() {
|
make_copy() {
|
||||||
MutexHolder holder(_lock);
|
MutexHolder holder(_lock);
|
||||||
return do_make_copy();
|
PT(Texture) tex = do_make_copy();
|
||||||
|
++(tex->_properties_modified);
|
||||||
|
++(tex->_image_modified);
|
||||||
|
++(tex->_simple_image_modified);
|
||||||
|
return tex;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user