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
951b4c3e
Commit
951b4c3e
authored
12 years ago
by
William Todd Stinson
Browse files
Options
Downloads
Patches
Plain Diff
MAINT-1890: Adding a more descriptive comment to this hack fix for future reference.
parent
3d21b230
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/newview/llflexibleobject.cpp
+13
-9
13 additions, 9 deletions
indra/newview/llflexibleobject.cpp
with
13 additions
and
9 deletions
indra/newview/llflexibleobject.cpp
+
13
−
9
View file @
951b4c3e
...
@@ -96,7 +96,18 @@ LLVolumeImplFlexible::~LLVolumeImplFlexible()
...
@@ -96,7 +96,18 @@ LLVolumeImplFlexible::~LLVolumeImplFlexible()
//static
//static
void
LLVolumeImplFlexible
::
updateClass
()
void
LLVolumeImplFlexible
::
updateClass
()
{
{
#ifdef XXX_STINSON_HACK_FIX
// 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
();
std
::
vector
<
S32
>::
iterator
delay_iter
=
sUpdateDelay
.
begin
();
for
(
std
::
vector
<
LLVolumeImplFlexible
*>::
iterator
iter
=
sInstanceList
.
begin
();
for
(
std
::
vector
<
LLVolumeImplFlexible
*>::
iterator
iter
=
sInstanceList
.
begin
();
...
@@ -110,14 +121,7 @@ void LLVolumeImplFlexible::updateClass()
...
@@ -110,14 +121,7 @@ void LLVolumeImplFlexible::updateClass()
}
}
++
delay_iter
;
++
delay_iter
;
}
}
#else // XXX_STINSON_HACK_FIX
#endif // XXX_STINSON_MAINT_1890_HACK_FIX
for
(
std
::
vector
<
LLVolumeImplFlexible
*>::
iterator
iter
=
sInstanceList
.
begin
();
iter
!=
sInstanceList
.
end
();
++
iter
)
{
(
*
iter
)
->
doIdleUpdate
();
}
#endif // XXX_STINSON_HACK_FIX
}
}
LLVector3
LLVolumeImplFlexible
::
getFramePosition
()
const
LLVector3
LLVolumeImplFlexible
::
getFramePosition
()
const
...
...
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