mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
ENH:Obj import supports up to 32 colors
jira: STUDIO-10927 Change-Id: I46b2c63a625f91d0caafa78cf47bf0fc8589015b (cherry picked from commit 9e2bfb7d7e56d886a85c0ee8c0e90dbc6ccfa932)
This commit is contained in:
@@ -785,7 +785,7 @@ bool convert_obj_cluster_colors(std::vector<Slic3r::RGBA>& input_colors, std::ve
|
||||
std::vector<int> cluster_labels;
|
||||
char cluster_number = -1;
|
||||
|
||||
obj_color_deal_algo(input_colors, cluster_colors, cluster_labels, cluster_number);
|
||||
obj_color_deal_algo(input_colors, cluster_colors, cluster_labels, cluster_number, (int)EnforcerBlockerType::ExtruderMax);
|
||||
std::vector<int> cluster_color_maps;
|
||||
|
||||
BOOST_LOG_TRIVIAL(info) << boost::format("%1%:%2%, after obj_color_deal_algo, cluster_colors size %3%, all_colours size %4%, max_filament_count=%5%")%__FUNCTION__ %__LINE__%cluster_colors.size() %all_colours.size() %max_filament_count;
|
||||
|
||||
Reference in New Issue
Block a user