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
5de49ccb
Commit
5de49ccb
authored
17 years ago
by
Arthur Abraham
Browse files
Options
Downloads
Patches
Plain Diff
Attempt to revert release r61312 checkin. Whitespace only
parent
5d0cbafc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/newview/llpanelcontents.cpp
+5
-5
5 additions, 5 deletions
indra/newview/llpanelcontents.cpp
with
5 additions
and
5 deletions
indra/newview/llpanelcontents.cpp
+
5
−
5
View file @
5de49ccb
/**
/**
* @file llpanelcontents.cpp
* @brief Object contents panel in the tools floater.
*
...
...
@@ -81,21 +81,21 @@ LLPanelContents::~LLPanelContents()
void
LLPanelContents
::
getState
(
LLViewerObject
*
objectp
)
{
if
(
!
objectp
)
{
{
childSetEnabled
(
"button new script"
,
FALSE
);
//mBtnNewScript->setEnabled( FALSE );
return
;
}
// BUG? Check for all objects being editable?
BOOL
editable
=
gAgent
.
isGodlike
()
BOOL
editable
=
gAgent
.
isGodlike
()
||
(
objectp
->
permModify
()
&&
objectp
->
permYouOwner
());
BOOL
all_volume
=
gSelectMgr
->
selectionAllPCode
(
LL_PCODE_VOLUME
);
// Edit script button - ok if object is editable and there's an
// unambiguous destination for the object.
if
(
editable
&&
all_volume
&&
if
(
editable
&&
all_volume
&&
((
gSelectMgr
->
getSelection
()
->
getRootObjectCount
()
==
1
)
||
(
gSelectMgr
->
getSelection
()
->
getObjectCount
()
==
1
)))
{
...
...
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