Fix T59608: Curves invisible in object mode

This commit is contained in:
Clément Foucault 2018-12-21 15:43:50 +01:00
parent 0edd93effb
commit a2a2fe1f22
Notes: blender-bot 2023-02-14 04:24:06 +01:00
Referenced by issue #59608, Curves invisible in object mode
1 changed files with 3 additions and 3 deletions

View File

@ -2711,7 +2711,7 @@ static void OBJECT_cache_populate(void *vedata, Object *ob)
}
case OB_LATTICE:
{
if (is_edit_mode) {
if (!is_edit_mode) {
if (hide_object_extra) {
break;
}
@ -2727,7 +2727,7 @@ static void OBJECT_cache_populate(void *vedata, Object *ob)
}
case OB_CURVE:
{
if (is_edit_mode) {
if (!is_edit_mode) {
if (hide_object_extra) {
break;
}
@ -2742,7 +2742,7 @@ static void OBJECT_cache_populate(void *vedata, Object *ob)
}
case OB_MBALL:
{
if (is_edit_mode) {
if (!is_edit_mode) {
DRW_shgroup_mball_handles(sgl, ob, view_layer);
}
break;