forked from 1b-agent/opencadstudio-upstream
fix(scene): cfg-gate test-only refresh_pending_any to silence dead-code warning
This commit is contained in:
1 parent
319710f36b
commit
de1c1798a0
1 file changed
+1
@@ -2561,6 +2561,7 @@ impl Scene {
|
||||
}
|
||||
|
||||
/// True while any force is still pending (never cleared falsely).
|
||||
#[cfg(test)]
|
||||
pub fn refresh_pending_any(&self) -> bool {
|
||||
!self.pending_refresh.borrow().is_empty()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user