Fix #133106: Overlay-Next: Solid selection doesn't work in XRay mode
Regression from 2abc3ad801
This commit is contained in:
@@ -72,7 +72,7 @@ class Prepass : Overlay {
|
||||
public:
|
||||
void begin_sync(Resources &res, const State &state) final
|
||||
{
|
||||
enabled_ = state.is_space_v3d() && !state.xray_enabled;
|
||||
enabled_ = state.is_space_v3d() && (!state.xray_enabled || res.is_selection());
|
||||
|
||||
if (!enabled_) {
|
||||
/* Not used. But release the data. */
|
||||
|
||||
Reference in New Issue
Block a user