mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[glass] Don't check IsConnected for NT widgets (#4674)
Checking this isn't required, and prevented these widgets from working in the simulation GUI without another NT client connected.
This commit is contained in:
@@ -171,7 +171,7 @@ void NTField2DModel::Update() {
|
||||
}
|
||||
|
||||
bool NTField2DModel::Exists() {
|
||||
return m_inst.IsConnected() && m_nameTopic.Exists();
|
||||
return m_nameTopic.Exists();
|
||||
}
|
||||
|
||||
bool NTField2DModel::IsReadOnly() {
|
||||
|
||||
Reference in New Issue
Block a user