mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
fix rescale_texture bug
This commit is contained in:
parent
166545a5d6
commit
3462cbe372
@ -4421,6 +4421,7 @@ do_rescale_texture() {
|
||||
new_image.copy_sub_image(orig_image, 0, new_y_size - orig_image.get_y_size());
|
||||
|
||||
do_clear_ram_image();
|
||||
_loaded_from_image = false;
|
||||
++_image_modified;
|
||||
if (!do_load_one(new_image, get_name(), 0, 0, LoaderOptions())) {
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user