Fix #32796: cycles did not support image auto refresh option.
This commit is contained in:
@@ -51,7 +51,7 @@ public:
|
||||
ImageManager();
|
||||
~ImageManager();
|
||||
|
||||
int add_image(const string& filename, bool& is_float);
|
||||
int add_image(const string& filename, bool animated, bool& is_float);
|
||||
void remove_image(const string& filename);
|
||||
bool is_float_image(const string& filename);
|
||||
|
||||
@@ -60,8 +60,8 @@ public:
|
||||
|
||||
void set_osl_texture_system(void *texture_system);
|
||||
void set_pack_images(bool pack_images_);
|
||||
|
||||
void set_extended_image_limits(void);
|
||||
bool set_animation_frame_update(int frame);
|
||||
|
||||
bool need_update;
|
||||
|
||||
@@ -70,11 +70,13 @@ private:
|
||||
int tex_num_float_images;
|
||||
int tex_image_byte_start;
|
||||
thread_mutex device_mutex;
|
||||
int animation_frame;
|
||||
|
||||
struct Image {
|
||||
string filename;
|
||||
|
||||
bool need_load;
|
||||
bool animated;
|
||||
int users;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user