Object Mode: Fix incorrect lightprobe wire color when in edit mode.
This commit is contained in:
@@ -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_SPEAKER) theme_id = TH_SPEAKER;
|
||||||
else if (ob->type == OB_CAMERA) theme_id = TH_CAMERA;
|
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_EMPTY) theme_id = TH_EMPTY;
|
||||||
|
else if (ob->type == OB_LIGHTPROBE) theme_id = TH_EMPTY; /* TODO add lightprobe color */
|
||||||
/* fallback to TH_WIRE */
|
/* fallback to TH_WIRE */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user