-----------------------------------------------------------------------------
| 112 | |
| 113 | //----------------------------------------------------------------------------- |
| 114 | void vtkSMProxySelectionModel::SetCurrentProxy(vtkSMProxy* proxy, int command) |
| 115 | { |
| 116 | if (this->Current != proxy) |
| 117 | { |
| 118 | SM_SCOPED_TRACE(SetCurrentProxy) |
| 119 | .arg("selmodel", this) |
| 120 | .arg("proxy", proxy) |
| 121 | .arg("command", command); |
| 122 | this->Internal->DisableSessionStatePush = true; |
| 123 | this->Current = proxy; |
| 124 | this->Select(proxy, command); |
| 125 | this->Internal->DisableSessionStatePush = false; |
| 126 | this->InvokeCurrentChanged(proxy); |
| 127 | } |
| 128 | } |
| 129 | |
| 130 | //----------------------------------------------------------------------------- |
| 131 | bool vtkSMProxySelectionModel::IsSelected(vtkSMProxy* proxy) |
no test coverage detected