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
bb2c147c
Commit
bb2c147c
authored
8 years ago
by
Brad Payne (Vir Linden)
Browse files
Options
Downloads
Patches
Plain Diff
SL-315 - fix for max/linux build failure, additional lad validation in skel_tool.py
parent
82111ecb
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/llappearance/lldriverparam.h
+0
-1
0 additions, 1 deletion
indra/llappearance/lldriverparam.h
scripts/content_tools/skel_tool.py
+6
-1
6 additions, 1 deletion
scripts/content_tools/skel_tool.py
with
6 additions
and
2 deletions
indra/llappearance/lldriverparam.h
+
0
−
1
View file @
bb2c147c
...
...
@@ -139,7 +139,6 @@ class LLDriverParam : public LLViewerVisualParam
LL_ALIGN_16
(
LLVector4a
mDefaultVec
);
// temp holder
typedef
std
::
vector
<
LLDrivenEntry
>
entry_list_t
;
entry_list_t
mDriven
;
LLViewerVisualParam
*
mCurrentDistortionParam
;
// Backlink only; don't make this an LLPointer.
...
...
This diff is collapsed.
Click to expand it.
scripts/content_tools/skel_tool.py
+
6
−
1
View file @
bb2c147c
...
...
@@ -261,9 +261,15 @@ def validate_lad_tree(ladtree,skeltree,orig_ladtree):
driver
=
driven_param
.
getparent
().
getparent
()
driven_id
=
driven_param
.
get
(
"
id
"
)
driver_id
=
driver
.
get
(
"
id
"
)
actual_param
=
next
(
param
for
param
in
ladtree
.
iter
(
"
param
"
)
if
param
.
get
(
"
id
"
)
==
driven_id
)
if
not
driven_id
in
drivers
:
drivers
[
driven_id
]
=
set
()
drivers
[
driven_id
].
add
(
driver_id
)
if
(
actual_param
.
get
(
"
value_min
"
)
!=
driver
.
get
(
"
value_min
"
)
or
\
actual_param
.
get
(
"
value_max
"
)
!=
driver
.
get
(
"
value_max
"
)):
if
args
.
verbose
:
print
"
MISMATCH min max:
"
,
driver
.
get
(
"
id
"
),
"
drives
"
,
driven_param
.
get
(
"
id
"
),
"
min
"
,
driver
.
get
(
"
value_min
"
),
actual_param
.
get
(
"
value_min
"
),
"
max
"
,
driver
.
get
(
"
value_max
"
),
actual_param
.
get
(
"
value_max
"
)
for
driven_id
in
drivers
:
dset
=
drivers
[
driven_id
]
if
len
(
dset
)
!=
1
:
...
...
@@ -271,7 +277,6 @@ def validate_lad_tree(ladtree,skeltree,orig_ladtree):
else
:
if
args
.
verbose
:
print
"
driven_id
"
,
driven_id
,
"
has one driver
"
,
dset
if
orig_ladtree
:
# make sure expected message format is unchanged
orig_message_params_by_id
=
dict
((
int
(
param
.
get
(
"
id
"
)),
param
)
for
param
in
orig_ladtree
.
iter
(
"
param
"
)
if
param
.
get
(
"
group
"
)
in
[
"
0
"
,
"
3
"
])
...
...
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