diff options
author | Jacek Antonelli | 2008-08-15 23:45:29 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:29 -0500 |
commit | 7bdb4845afdd157f95281293803567090e3f992a (patch) | |
tree | fbcada1c227d7407f9f37ccba360bfe6326d9c5e /linden/indra/newview/llviewercontrol.cpp | |
parent | Second Life viewer sources 1.19.0.0 (diff) | |
download | meta-impy-7bdb4845afdd157f95281293803567090e3f992a.zip meta-impy-7bdb4845afdd157f95281293803567090e3f992a.tar.gz meta-impy-7bdb4845afdd157f95281293803567090e3f992a.tar.bz2 meta-impy-7bdb4845afdd157f95281293803567090e3f992a.tar.xz |
Second Life viewer sources 1.19.0.2
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llviewercontrol.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewercontrol.cpp b/linden/indra/newview/llviewercontrol.cpp index 81f5cc1..99bc98a 100644 --- a/linden/indra/newview/llviewercontrol.cpp +++ b/linden/indra/newview/llviewercontrol.cpp | |||
@@ -261,7 +261,6 @@ void LLFloaterSettingsDebug::updateControl(LLControlBase* controlp) | |||
261 | spinner4->setVisible(FALSE); | 261 | spinner4->setVisible(FALSE); |
262 | color_swatch->setVisible(FALSE); | 262 | color_swatch->setVisible(FALSE); |
263 | childSetVisible("val_text", FALSE); | 263 | childSetVisible("val_text", FALSE); |
264 | childSetVisible("boolean_combo", FALSE); | ||
265 | mComment->setText(LLString::null); | 264 | mComment->setText(LLString::null); |
266 | 265 | ||
267 | if (controlp) | 266 | if (controlp) |
@@ -299,6 +298,7 @@ void LLFloaterSettingsDebug::updateControl(LLControlBase* controlp) | |||
299 | case TYPE_U32: | 298 | case TYPE_U32: |
300 | spinner1->setVisible(TRUE); | 299 | spinner1->setVisible(TRUE); |
301 | spinner1->setLabel(LLString("value")); // Debug, don't translate | 300 | spinner1->setLabel(LLString("value")); // Debug, don't translate |
301 | childSetVisible("boolean_combo", FALSE); | ||
302 | if (!spinner1->hasFocus()) | 302 | if (!spinner1->hasFocus()) |
303 | { | 303 | { |
304 | spinner1->setValue(sd); | 304 | spinner1->setValue(sd); |
@@ -311,6 +311,7 @@ void LLFloaterSettingsDebug::updateControl(LLControlBase* controlp) | |||
311 | case TYPE_S32: | 311 | case TYPE_S32: |
312 | spinner1->setVisible(TRUE); | 312 | spinner1->setVisible(TRUE); |
313 | spinner1->setLabel(LLString("value")); // Debug, don't translate | 313 | spinner1->setLabel(LLString("value")); // Debug, don't translate |
314 | childSetVisible("boolean_combo", FALSE); | ||
314 | if (!spinner1->hasFocus()) | 315 | if (!spinner1->hasFocus()) |
315 | { | 316 | { |
316 | spinner1->setValue(sd); | 317 | spinner1->setValue(sd); |
@@ -323,6 +324,7 @@ void LLFloaterSettingsDebug::updateControl(LLControlBase* controlp) | |||
323 | case TYPE_F32: | 324 | case TYPE_F32: |
324 | spinner1->setVisible(TRUE); | 325 | spinner1->setVisible(TRUE); |
325 | spinner1->setLabel(LLString("value")); // Debug, don't translate | 326 | spinner1->setLabel(LLString("value")); // Debug, don't translate |
327 | childSetVisible("boolean_combo", FALSE); | ||
326 | if (!spinner1->hasFocus()) | 328 | if (!spinner1->hasFocus()) |
327 | { | 329 | { |
328 | spinner1->setPrecision(3); | 330 | spinner1->setPrecision(3); |
@@ -346,6 +348,7 @@ void LLFloaterSettingsDebug::updateControl(LLControlBase* controlp) | |||
346 | break; | 348 | break; |
347 | case TYPE_STRING: | 349 | case TYPE_STRING: |
348 | childSetVisible("val_text", TRUE); | 350 | childSetVisible("val_text", TRUE); |
351 | childSetVisible("boolean_combo", FALSE); | ||
349 | if (!childHasFocus("val_text")) | 352 | if (!childHasFocus("val_text")) |
350 | { | 353 | { |
351 | childSetValue("val_text", sd); | 354 | childSetValue("val_text", sd); |
@@ -353,6 +356,7 @@ void LLFloaterSettingsDebug::updateControl(LLControlBase* controlp) | |||
353 | break; | 356 | break; |
354 | case TYPE_VEC3: | 357 | case TYPE_VEC3: |
355 | { | 358 | { |
359 | childSetVisible("boolean_combo", FALSE); | ||
356 | LLVector3 v; | 360 | LLVector3 v; |
357 | v.setValue(sd); | 361 | v.setValue(sd); |
358 | spinner1->setVisible(TRUE); | 362 | spinner1->setVisible(TRUE); |
@@ -380,6 +384,7 @@ void LLFloaterSettingsDebug::updateControl(LLControlBase* controlp) | |||
380 | } | 384 | } |
381 | case TYPE_VEC3D: | 385 | case TYPE_VEC3D: |
382 | { | 386 | { |
387 | childSetVisible("boolean_combo", FALSE); | ||
383 | LLVector3d v; | 388 | LLVector3d v; |
384 | v.setValue(sd); | 389 | v.setValue(sd); |
385 | spinner1->setVisible(TRUE); | 390 | spinner1->setVisible(TRUE); |
@@ -407,6 +412,7 @@ void LLFloaterSettingsDebug::updateControl(LLControlBase* controlp) | |||
407 | } | 412 | } |
408 | case TYPE_RECT: | 413 | case TYPE_RECT: |
409 | { | 414 | { |
415 | childSetVisible("boolean_combo", FALSE); | ||
410 | LLRect r; | 416 | LLRect r; |
411 | r.setValue(sd); | 417 | r.setValue(sd); |
412 | spinner1->setVisible(TRUE); | 418 | spinner1->setVisible(TRUE); |
@@ -457,6 +463,7 @@ void LLFloaterSettingsDebug::updateControl(LLControlBase* controlp) | |||
457 | } | 463 | } |
458 | case TYPE_COL4: | 464 | case TYPE_COL4: |
459 | { | 465 | { |
466 | childSetVisible("boolean_combo", FALSE); | ||
460 | LLColor4 clr; | 467 | LLColor4 clr; |
461 | clr.setValue(sd); | 468 | clr.setValue(sd); |
462 | color_swatch->setVisible(TRUE); | 469 | color_swatch->setVisible(TRUE); |
@@ -478,6 +485,7 @@ void LLFloaterSettingsDebug::updateControl(LLControlBase* controlp) | |||
478 | } | 485 | } |
479 | case TYPE_COL3: | 486 | case TYPE_COL3: |
480 | { | 487 | { |
488 | childSetVisible("boolean_combo", FALSE); | ||
481 | LLColor3 clr; | 489 | LLColor3 clr; |
482 | clr.setValue(sd); | 490 | clr.setValue(sd); |
483 | color_swatch->setVisible(TRUE); | 491 | color_swatch->setVisible(TRUE); |
@@ -486,6 +494,7 @@ void LLFloaterSettingsDebug::updateControl(LLControlBase* controlp) | |||
486 | } | 494 | } |
487 | case TYPE_COL4U: | 495 | case TYPE_COL4U: |
488 | { | 496 | { |
497 | childSetVisible("boolean_combo", FALSE); | ||
489 | LLColor4U clr; | 498 | LLColor4U clr; |
490 | clr.setValue(sd); | 499 | clr.setValue(sd); |
491 | color_swatch->setVisible(TRUE); | 500 | color_swatch->setVisible(TRUE); |