Object Mode: Fix incorrect lightprobe wire color when in edit mode.
This commit is contained in:
parent
4d382e2564
commit
376e74f2aa
|
@ -481,6 +481,7 @@ int DRW_object_wire_theme_get(Object *ob, ViewLayer *view_layer, float **r_color
|
|||
else if (ob->type == OB_SPEAKER) theme_id = TH_SPEAKER;
|
||||
else if (ob->type == OB_CAMERA) theme_id = TH_CAMERA;
|
||||
else if (ob->type == OB_EMPTY) theme_id = TH_EMPTY;
|
||||
else if (ob->type == OB_LIGHTPROBE) theme_id = TH_EMPTY; /* TODO add lightprobe color */
|
||||
/* fallback to TH_WIRE */
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue