occt: master b7e76224

Author Committer Branch Timestamp Parent
abv abv master 2012-06-28 13:48:50 master aa02980d
Affected Issues  0023197: Draw executable do not detect update of environment variables on Windows.
Changeset 0023197: Draw executable do not detect update of environment variables on Windows.

New DRAW commands dgetenv and dsetenv are added, allowing to query and set environment variables as defined in C subsystem, from Tcl.

On Windows, special handler is armed in DrawDefaults providing automatic update of C environment when Tcl environment (array env) is modified. Note that this is not needed on Linux (Tcl does this internally).

Fixed problem with "array get env" command.

Added comments to _update_c_env proc.
mod - src/Draw/Draw_VariableCommands.cxx Diff File
mod - src/DrawResources/DrawDefault Diff File