Fix T41109: Reloading image that has been modified outside Blender does not update image in Image Texture nodes

This commit is contained in:
Sergey Sharybin
2014-07-18 19:28:33 +06:00
parent b984489181
commit 9a45c9dadf
5 changed files with 60 additions and 0 deletions

View File

@@ -59,6 +59,7 @@ public:
bool& is_float, bool& is_linear, InterpolationType interpolation, bool use_alpha);
void remove_image(int slot);
void remove_image(const string& filename, void *builtin_data, InterpolationType interpolation);
void tag_reload_image(const string& filename, void *builtin_data, InterpolationType interpolation);
bool is_float_image(const string& filename, void *builtin_data, bool& is_linear);
void device_update(Device *device, DeviceScene *dscene, Progress& progress);