Uploaded image for project: 'Snowstorm'
  1. Snowstorm
  2. STORM-514

LLSideTray::Params::Params() gets non-existent artwork.

    XMLWordPrintableJSON

    Details

    • Type: Defect
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Sprint 9, Viewer 2.5.0
    • Labels:
      None
    • Environment:
      Viewer-Development Sourcecode
    • Approvals:
      Code Review, Product Owner

      Description

      Two warnings come up in debug logs namely tab_btn_image_normal & tab_button_image_selected.

      Current Code Reads As:

      LLSideTray::Params::Params()
      : collapsed("collapsed",false),
      tab_btn_image_normal("tab_btn_image",LLUI::getUIImage("sidebar_tab_left.tga")),
      tab_btn_image_selected("tab_btn_image_selected",LLUI::getUIImage("button_enabled_selected_32x128.tga")),
      default_button_width("tab_btn_width",32),
      default_button_height("tab_btn_height",32),
      default_button_margin("tab_btn_margin",0)

      Doing Something Like This:

      LLSideTray::Params::Params()
      : collapsed("collapsed",false),
      tab_btn_image_normal("tab_btn_image",LLUI::getUIImage("taskpanel/TaskPanel_Tab_Off.png")),
      tab_btn_image_selected("tab_btn_image_selected",LLUI::getUIImage("taskpanel/TaskPanel_Tab_Selected.png")),
      default_button_width("tab_btn_width",32),
      default_button_height("tab_btn_height",32),
      default_button_margin("tab_btn_margin",0)

      Eradicates the two warnings

      Best Regards KL

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            kirstenlee.cinquetti KirstenLee Cinquetti
            Extended Group Visibility:
            jira-users
            Prod Owner Approved:
            Esbee Linden Esbee Linden
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 20 minutes
                20m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 20 minutes
                20m

                  PagerDuty