1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0028090: Configuration - DRAWHOME environment variable missing in CMake

Replace variable DRAWHOME by CSF_OCCTResourcePath for successfully running DFBrowse command in Draw launched from Visual Studio.
Added missed icons of folders, attributes and named shapes used in DFOpenImage command in src\DrawResources\dftree.tcl.
This commit is contained in:
apn 2018-03-15 12:12:10 +03:00 committed by bugmaster
parent 68df847802
commit 3c9f082bb9
4 changed files with 1 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 959 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 921 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 941 B

View File

@ -368,7 +368,7 @@ proc DFOpenImage { img } {
global env
if {[catch "image create photo -file $env(DRAWHOME)/$img" ret]} {
if {[catch "image create photo -file $env(CSF_OCCTResourcePath)/DrawResources/$img" ret]} {
return ""
}
return $ret