Fix T82155: Fade inactive geometry overlay not working with instanced geometry

This enables the overlay for instanced geometry.

After this change, objects that are an instance of the current active
object (which are also being modified in the current active mode) won't
fade, which is different from the previous behavior.

Reviewed By: fclem

Maniphest Tasks: T82155

Differential Revision: https://developer.blender.org/D9362
This commit is contained in:
Pablo Dobarro 2021-05-10 19:29:52 +02:00 committed by Pablo Dobarro
parent 8815e3e330
commit ce62d65094
Notes: blender-bot 2023-02-14 19:45:25 +01:00
Referenced by issue #88475, use after free Fluid sim seg fault
Referenced by issue #82155, Overlay setting "Fade Inactive Geometry" does not work with instance collections.
1 changed files with 0 additions and 4 deletions

View File

@ -285,10 +285,6 @@ static bool overlay_should_fade_object(Object *ob, Object *active_object)
return false;
}
if (ob->base_flag & BASE_FROM_DUPLI) {
return false;
}
return true;
}