FIX: reload bed_texture should reset before

Jira: STUDIO-4574
Change-Id: I0bfe8a936347438d06dcdf3faca83a00b02a8677
(cherry picked from commit e03bfc830141a53acbabde3992edc14595bcef9a)
This commit is contained in:
zhou.xu 2023-09-22 14:53:48 +08:00 committed by Lane.Wei
parent 3b9d61cfc0
commit ec35d210ce
2 changed files with 17 additions and 0 deletions

View file

@ -596,8 +596,10 @@ public:
}
void update_buffer();
void reset();
};
std::vector<TexturePart> parts;
void reset();
};
static const unsigned int MAX_PLATES_COUNT = MAX_PLATE_COUNT;