Changeset 3188
- Timestamp:
- Oct 23, 2012 5:23:10 AM (12 years ago)
- Location:
- trunk/gui/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/bugreport.tcl
r3177 r3188 1 2 1 # ---------------------------------------------------------------------- 3 2 # UTILITY: bugreport … … 432 431 set details(referrer) [Rappture::Tool::resources -appname] 433 432 set details(platform) [array get tcl_platform] 433 434 Rappture::Logger::log oops! $summary 434 435 } 435 436 -
trunk/gui/scripts/heightmapviewer.tcl
r3187 r3188 91 91 92 92 protected method State {comp} 93 protected method FixSettings {what { value ""} {why -program}}93 protected method FixSettings {what {why -program}} 94 94 protected method GetTransfuncData {dataobj comp} 95 95 protected method Resize {} … … 1042 1042 1043 1043 # ---------------------------------------------------------------------- 1044 # USAGE: FixSettings <what> ? <value>? ?-user|-program?1044 # USAGE: FixSettings <what> ?-user|-program? 1045 1045 # 1046 1046 # Used internally to update rendering settings whenever parameters … … 1048 1048 # to the back end. 1049 1049 # ---------------------------------------------------------------------- 1050 itcl::body Rappture::HeightmapViewer::FixSettings { what {value ""} {why -program}} {1050 itcl::body Rappture::HeightmapViewer::FixSettings {what {why -program}} { 1051 1051 switch -- $what { 1052 1052 "legend" { … … 1069 1069 #$itk_component(legend) delete all 1070 1070 } 1071 Rappture::Logger::log heightmap legend $_settings($this-legend) 1071 if {$why eq "-user"} { 1072 Rappture::Logger::log heightmap legend $_settings($this-legend) 1073 } 1072 1074 } 1073 1075 "surface" { … … 1075 1077 SendCmd "heightmap data visible $_settings($this-surface)" 1076 1078 } 1077 Rappture::Logger::log heightmap surface $_settings($this-surface) 1079 if {$why eq "-user"} { 1080 Rappture::Logger::log heightmap surface $_settings($this-surface) 1081 } 1078 1082 } 1079 1083 "grid" { … … 1081 1085 SendCmd "grid visible $_settings($this-grid)" 1082 1086 } 1083 Rappture::Logger::log heightmap grid $_settings($this-grid) 1087 if {$why eq "-user"} { 1088 Rappture::Logger::log heightmap grid $_settings($this-grid) 1089 } 1084 1090 } 1085 1091 "axes" { … … 1087 1093 SendCmd "axis visible $_settings($this-axes)" 1088 1094 } 1089 Rappture::Logger::log heightmap axes $_settings($this-axes) 1095 if {$why eq "-user"} { 1096 Rappture::Logger::log heightmap axes $_settings($this-axes) 1097 } 1090 1098 } 1091 1099 "wireframe" { … … 1093 1101 SendCmd "heightmap polygon $_settings($this-wireframe)" 1094 1102 } 1095 Rappture::Logger::log heightmap wireframe $_settings($this-wireframe) 1103 if {$why eq "-user"} { 1104 Rappture::Logger::log heightmap wireframe $_settings($this-wireframe) 1105 } 1096 1106 } 1097 1107 "contourlines" { … … 1106 1116 } 1107 1117 } 1108 Rappture::Logger::log heightmap contourlines $_settings($this-contourlines) 1118 if {$why eq "-user"} { 1119 Rappture::Logger::log heightmap contourlines $_settings($this-contourlines) 1120 } 1109 1121 } 1110 1122 default {
Note: See TracChangeset
for help on using the changeset viewer.