Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Black Dragon Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Logue
Black Dragon Viewer
Commits
9e97c31e
Commit
9e97c31e
authored
1 year ago
by
NiranV
Browse files
Options
Downloads
Patches
Plain Diff
Fixed: Selection Outlines option in tools window not properly changing visibility on mode switch.
parent
a7948345
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/newview/llfloatertools.cpp
+6
-0
6 additions, 0 deletions
indra/newview/llfloatertools.cpp
indra/newview/llfloatertools.h
+2
-0
2 additions, 0 deletions
indra/newview/llfloatertools.h
with
8 additions
and
0 deletions
indra/newview/llfloatertools.cpp
+
6
−
0
View file @
9e97c31e
...
...
@@ -254,6 +254,8 @@ BOOL LLFloaterTools::postBuild()
mCheckStretchTexture
=
getChild
<
LLCheckBoxCtrl
>
(
"checkbox stretch textures"
);
getChild
<
LLUICtrl
>
(
"checkbox stretch textures"
)
->
setValue
((
BOOL
)
gSavedSettings
.
getBOOL
(
"ScaleStretchTextures"
));
mComboGridMode
=
getChild
<
LLComboBox
>
(
"combobox grid mode"
);
//BD
mCheckSelectionOutlines
=
getChild
<
LLCheckBoxCtrl
>
(
"checkbox show selection outlines"
);
//
// Create Buttons
...
...
@@ -334,6 +336,8 @@ LLFloaterTools::LLFloaterTools(const LLSD& key)
mCheckStretchUniform
(
NULL
),
mCheckStretchTexture
(
NULL
),
mCheckStretchUniformLabel
(
NULL
),
//BD
mCheckSelectionOutlines
(
NULL
),
mBtnRotateLeft
(
NULL
),
mBtnRotateReset
(
NULL
),
...
...
@@ -759,6 +763,8 @@ void LLFloaterTools::updatePopup(LLCoordGL center, MASK mask)
if
(
mCheckStretchUniform
)
mCheckStretchUniform
->
setVisible
(
edit_visible
);
if
(
mCheckStretchTexture
)
mCheckStretchTexture
->
setVisible
(
edit_visible
);
if
(
mCheckStretchUniformLabel
)
mCheckStretchUniformLabel
->
setVisible
(
edit_visible
);
//BD
if
(
mCheckSelectionOutlines
)
mCheckSelectionOutlines
->
setVisible
(
edit_visible
);
// Create buttons
BOOL
create_visible
=
(
tool
==
LLToolCompCreate
::
getInstance
());
...
...
This diff is collapsed.
Click to expand it.
indra/newview/llfloatertools.h
+
2
−
0
View file @
9e97c31e
...
...
@@ -135,6 +135,8 @@ class LLFloaterTools
LLComboBox
*
mComboGridMode
;
LLCheckBoxCtrl
*
mCheckStretchUniform
;
LLCheckBoxCtrl
*
mCheckStretchTexture
;
//BD
LLCheckBoxCtrl
*
mCheckSelectionOutlines
;
// !HACK! Replacement of mCheckStretchUniform label because LLCheckBoxCtrl
// doesn't support word_wrap of its label. Need to fix truncation bug EXT-6658
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment