Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
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
Alchemy Viewer
Alchemy Viewer
Commits
600ea64e
Commit
600ea64e
authored
1 year ago
by
Alexander Gavriliuk
Committed by
Guru
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
SL-19528 Remove PERMISSION_DEBIT warning (revert recent change)
parent
7ea40635
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/newview/llviewermessage.cpp
+0
-16
0 additions, 16 deletions
indra/newview/llviewermessage.cpp
with
0 additions
and
16 deletions
indra/newview/llviewermessage.cpp
+
0
−
16
View file @
600ea64e
...
@@ -5815,22 +5815,6 @@ void process_script_question(LLMessageSystem *msg, void **user_data)
...
@@ -5815,22 +5815,6 @@ void process_script_question(LLMessageSystem *msg, void **user_data)
args
[
"OBJECTNAME"
]
=
object_name
;
args
[
"OBJECTNAME"
]
=
object_name
;
args
[
"NAME"
]
=
clean_owner_name
;
args
[
"NAME"
]
=
clean_owner_name
;
S32
known_questions
=
0
;
S32
known_questions
=
0
;
// SL-19346, SL-19528 - No DEBIT warning for GRID & PRIVILEGED
if
(
experienceid
.
notNull
())
{
const
LLSD
&
experience
=
LLExperienceCache
::
instance
().
get
(
experienceid
);
if
(
!
experience
.
isUndefined
())
{
S32
properties
=
experience
[
LLExperienceCache
::
PROPERTIES
].
asInteger
();
if
((
properties
|
LLExperienceCache
::
PROPERTY_GRID
)
&&
(
properties
|
LLExperienceCache
::
PROPERTY_PRIVILEGED
))
{
questions
^=
SCRIPT_PERMISSIONS
[
SCRIPT_PERMISSION_DEBIT
].
permbit
;
}
}
}
bool
has_not_only_debit
=
questions
^
SCRIPT_PERMISSIONS
[
SCRIPT_PERMISSION_DEBIT
].
permbit
;
bool
has_not_only_debit
=
questions
^
SCRIPT_PERMISSIONS
[
SCRIPT_PERMISSION_DEBIT
].
permbit
;
// check the received permission flags against each permission
// check the received permission flags against each permission
BOOST_FOREACH
(
script_perm_t
script_perm
,
SCRIPT_PERMISSIONS
)
BOOST_FOREACH
(
script_perm_t
script_perm
,
SCRIPT_PERMISSIONS
)
...
...
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