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:
parent
68df847802
commit
3c9f082bb9
BIN
src/DrawResources/dfb_attribns.gif
Normal file
BIN
src/DrawResources/dfb_attribns.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 959 B |
BIN
src/DrawResources/dfb_attribute.gif
Normal file
BIN
src/DrawResources/dfb_attribute.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 921 B |
BIN
src/DrawResources/dfb_folder.gif
Normal file
BIN
src/DrawResources/dfb_folder.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 941 B |
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user