mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0026307: Minor improvements in snowflake sample
- background is set to while, and lines are black - dimension line added - category is corrected
This commit is contained in:
@@ -236,10 +236,10 @@ proc vsamples {} {
|
||||
set istitlefound 0
|
||||
while {[gets $chan line] >= 0} {
|
||||
if {[lindex [split $line " "] 0] == "#Category:"} {
|
||||
set acategory [string trimleft $line "#Category: "]
|
||||
set acategory [string trim [string trimleft $line "#Category: "]]
|
||||
}
|
||||
if {[lindex [split $line " "] 0] == "#Title:"} {
|
||||
set atitle [string trimleft $line "#Title: "]
|
||||
set atitle [string trim [string trimleft $line "#Title: "]]
|
||||
lappend alistofthree $acategory $atitle $fname
|
||||
incr istitlefound
|
||||
break
|
||||
|
Reference in New Issue
Block a user