mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 14:13:57 -06:00
Fixed DnD for "Model part" volumes inside the object
Fixed volumes order inside the object
This commit is contained in:
parent
2d9953069a
commit
7eebd56b5f
7 changed files with 101 additions and 96 deletions
|
@ -401,7 +401,12 @@ void GLVolume::set_render_color()
|
|||
|
||||
void GLVolume::set_color_from_model_volume(const ModelVolume *model_volume)
|
||||
{
|
||||
if (model_volume->is_modifier()) {
|
||||
if (model_volume->is_negative_volume()) {
|
||||
color[0] = 0.2f;
|
||||
color[1] = 0.2f;
|
||||
color[2] = 0.2f;
|
||||
}
|
||||
else if (model_volume->is_modifier()) {
|
||||
color[0] = 0.2f;
|
||||
color[1] = 1.0f;
|
||||
color[2] = 0.2f;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue