ENH:Obj import supports up to 32 colors

jira: STUDIO-10927
Change-Id: I46b2c63a625f91d0caafa78cf47bf0fc8589015b
(cherry picked from commit 9e2bfb7d7e56d886a85c0ee8c0e90dbc6ccfa932)
This commit is contained in:
zhou.xu
2025-03-18 12:16:46 +08:00
committed by Noisyfox
parent 7ca7ca18fb
commit c333cb58d9
5 changed files with 57 additions and 39 deletions

View File

@@ -264,4 +264,5 @@ public:
bool obj_color_deal_algo(std::vector<Slic3r::RGBA> &input_colors,
std::vector<Slic3r::RGBA>& cluster_colors_from_algo,
std::vector<int>& cluster_labels_from_algo,
char & cluster_number);
char & cluster_number,
int max_cluster);