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
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
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
Alchemy Archive
Alchemy Viewer
Commits
a8308121
Commit
a8308121
authored
12 years ago
by
Oz Linden
Browse files
Options
Downloads
Plain Diff
merge changes for DRTVWR-247
parents
7ab282a0
903b68a3
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
.hgtags
+1
-0
1 addition, 0 deletions
.hgtags
indra/newview/llflexibleobject.cpp
+2
-13
2 additions, 13 deletions
indra/newview/llflexibleobject.cpp
with
3 additions
and
13 deletions
.hgtags
+
1
−
0
View file @
a8308121
...
...
@@ -365,3 +365,4 @@ f1d3b3fcab28ed9ea532bf50db0ba96f5c8cc8e9 DRTVWR-232
94ab2b49458ab372a95d2d6949fdf574f413068d 3.4.3-beta1
4c3460cb1fb7c6da9965e09c734d282a8e9c81f0 DRTVWR-229
f4481df42f9a4a92bf475a80f0c51d1a4bbdfd59 DRTVWR-246
39c5204b6e800983a41ccac8ad6dc993120197c6 DRTVWR-247
This diff is collapsed.
Click to expand it.
indra/newview/llflexibleobject.cpp
+
2
−
13
View file @
a8308121
...
...
@@ -96,18 +96,6 @@ LLVolumeImplFlexible::~LLVolumeImplFlexible()
//static
void
LLVolumeImplFlexible
::
updateClass
()
{
// XXX stinson 11/13/2012 : This hack removes the optimization for limiting the number of flexi-prims
// updated. With the optimization, flexi-prims attached to the users avatar were not being
// animated correctly immediately following teleport. With the optimization removed, the bug went away.
#define XXX_STINSON_MAINT_1890_HACK_FIX 1
#if XXX_STINSON_MAINT_1890_HACK_FIX
for
(
std
::
vector
<
LLVolumeImplFlexible
*>::
iterator
iter
=
sInstanceList
.
begin
();
iter
!=
sInstanceList
.
end
();
++
iter
)
{
(
*
iter
)
->
doIdleUpdate
();
}
#else // XXX_STINSON_MAINT_1890_HACK_FIX
std
::
vector
<
S32
>::
iterator
delay_iter
=
sUpdateDelay
.
begin
();
for
(
std
::
vector
<
LLVolumeImplFlexible
*>::
iterator
iter
=
sInstanceList
.
begin
();
...
...
@@ -121,7 +109,6 @@ void LLVolumeImplFlexible::updateClass()
}
++
delay_iter
;
}
#endif // XXX_STINSON_MAINT_1890_HACK_FIX
}
LLVector3
LLVolumeImplFlexible
::
getFramePosition
()
const
...
...
@@ -373,6 +360,8 @@ void LLVolumeImplFlexible::doIdleUpdate()
F32
pixel_area
=
mVO
->
getPixelArea
();
U32
update_period
=
(
U32
)
(
LLViewerCamera
::
getInstance
()
->
getScreenPixelArea
()
*
0.01
f
/
(
pixel_area
*
(
sUpdateFactor
+
1.
f
)))
+
1
;
// MAINT-1890 Clamp the update period to ensure that the update_period is no greater than 32 frames
update_period
=
llclamp
(
update_period
,
0U
,
32U
);
if
(
visible
)
{
...
...
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