mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-21 03:52:15 -07: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:
parent
7ca7ca18fb
commit
c333cb58d9
5 changed files with 57 additions and 39 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue