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
0c7c3ef6
Commit
0c7c3ef6
authored
6 years ago
by
Brad Payne (Vir Linden)
Browse files
Options
Downloads
Patches
Plain Diff
MAINT-7926, MAINT-8400 - minor edits
parent
9be476e3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/newview/llskinningutil.cpp
+1
-3
1 addition, 3 deletions
indra/newview/llskinningutil.cpp
indra/newview/llvovolume.cpp
+0
-4
0 additions, 4 deletions
indra/newview/llvovolume.cpp
with
1 addition
and
7 deletions
indra/newview/llskinningutil.cpp
+
1
−
3
View file @
0c7c3ef6
...
@@ -245,10 +245,10 @@ void LLSkinningUtil::updateRiggingInfo(const LLMeshSkinInfo* skin, LLVOAvatar *a
...
@@ -245,10 +245,10 @@ void LLSkinningUtil::updateRiggingInfo(const LLMeshSkinInfo* skin, LLVOAvatar *a
LLVector4
wght
;
LLVector4
wght
;
S32
idx
[
4
];
S32
idx
[
4
];
F32
scale
=
0.0
f
;
F32
scale
=
0.0
f
;
// AXON unpacking of weights should be pulled into a common function and optimized if possible.
for
(
U32
k
=
0
;
k
<
4
;
k
++
)
for
(
U32
k
=
0
;
k
<
4
;
k
++
)
{
{
F32
w
=
weights
[
k
];
F32
w
=
weights
[
k
];
idx
[
k
]
=
llclamp
((
S32
)
floorf
(
w
),
(
S32
)
0
,
(
S32
)
LL_CHARACTER_MAX_ANIMATED_JOINTS
-
1
);
idx
[
k
]
=
llclamp
((
S32
)
floorf
(
w
),
(
S32
)
0
,
(
S32
)
LL_CHARACTER_MAX_ANIMATED_JOINTS
-
1
);
wght
[
k
]
=
w
-
idx
[
k
];
wght
[
k
]
=
w
-
idx
[
k
];
scale
+=
wght
[
k
];
scale
+=
wght
[
k
];
...
@@ -269,8 +269,6 @@ void LLSkinningUtil::updateRiggingInfo(const LLMeshSkinInfo* skin, LLVOAvatar *a
...
@@ -269,8 +269,6 @@ void LLSkinningUtil::updateRiggingInfo(const LLMeshSkinInfo* skin, LLVOAvatar *a
if
(
joint_num
>=
0
&&
joint_num
<
LL_CHARACTER_MAX_ANIMATED_JOINTS
)
if
(
joint_num
>=
0
&&
joint_num
<
LL_CHARACTER_MAX_ANIMATED_JOINTS
)
{
{
rig_info_tab
[
joint_num
].
setIsRiggedTo
(
true
);
rig_info_tab
[
joint_num
].
setIsRiggedTo
(
true
);
//active_joints.insert(joint_num);
//active_verts++;
// AXON can precompute these matMuls.
// AXON can precompute these matMuls.
LLMatrix4a
bind_shape
;
LLMatrix4a
bind_shape
;
...
...
This diff is collapsed.
Click to expand it.
indra/newview/llvovolume.cpp
+
0
−
4
View file @
0c7c3ef6
...
@@ -108,10 +108,6 @@ static LLTrace::BlockTimerStatHandle FTM_VOLUME_TEXTURES("Volume Textures");
...
@@ -108,10 +108,6 @@ static LLTrace::BlockTimerStatHandle FTM_VOLUME_TEXTURES("Volume Textures");
extern
BOOL
gGLDebugLoggingEnabled
;
extern
BOOL
gGLDebugLoggingEnabled
;
#if LL_MSVC
#pragma optimize("", off)
#endif
// Implementation class of LLMediaDataClientObject. See llmediadataclient.h
// Implementation class of LLMediaDataClientObject. See llmediadataclient.h
class
LLMediaDataClientObjectImpl
:
public
LLMediaDataClientObject
class
LLMediaDataClientObjectImpl
:
public
LLMediaDataClientObject
{
{
...
...
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