Selection: Improve Display as Bounds/Wires selection behavior
Make the selection behavior more visually consistent in Render mode. Pull Request: https://projects.blender.org/blender/blender/pulls/133007
This commit is contained in:
@@ -190,7 +190,11 @@ class Prepass : Overlay {
|
||||
Resources &res,
|
||||
const State &state) final
|
||||
{
|
||||
if (!enabled_ || ob_ref.object->dt < OB_SOLID) {
|
||||
bool is_solid = ob_ref.object->dt >= OB_SOLID ||
|
||||
(state.v3d->shading.type == OB_RENDER &&
|
||||
!(ob_ref.object->visibility_flag & OB_HIDE_CAMERA));
|
||||
|
||||
if (!enabled_ || !is_solid) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user