]> OCCT Git - occt.git/commit
Data Exchange, STEP - Refactor StepType selection (#786)
authorPasukhin Dmitry <dpasukhi@opencascade.com>
Sat, 1 Nov 2025 17:42:53 +0000 (17:42 +0000)
committerGitHub <noreply@github.com>
Sat, 1 Nov 2025 17:42:53 +0000 (17:42 +0000)
commit426242306d6e59a304524e63627891667fae7f3c
tree17a0bfe0f7a3962b31b770fa149acb69f3b0779a
parentc88c05399f38f0a9e5892e97ed4a6976fe999612
Data Exchange, STEP - Refactor StepType selection (#786)

- Removed static `lastvalue` variable and mutex-based synchronization, replacing them with a mutable member field `theLastValue`
- Restructured logic with early returns to reduce nesting and improve readability
- Updated variable naming to follow OCCT conventions (e.g., `module` → `aModule`, `CN` → `aCN`)
src/DataExchange/TKDESTEP/StepSelect/StepSelect_StepType.cxx
src/DataExchange/TKDESTEP/StepSelect/StepSelect_StepType.hxx