fix make_copy()

This commit is contained in:
David Rose 2009-05-07 22:19:20 +00:00
parent 3fcd2a764e
commit b6ad665ef5

View File

@ -29,7 +29,11 @@
INLINE PT(Texture) Texture::
make_copy() {
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;
}
////////////////////////////////////////////////////////////////////