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
d6f15179
Commit
d6f15179
authored
1 year ago
by
Jonathan "Geenz" Goodman
Browse files
Options
Downloads
Patches
Plain Diff
Remove the rebuild on the drawable. Wasn't working as expected anyways.
DRTVWR-583
parent
1433434b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/newview/llheroprobemanager.cpp
+0
-14
0 additions, 14 deletions
indra/newview/llheroprobemanager.cpp
with
0 additions
and
14 deletions
indra/newview/llheroprobemanager.cpp
+
0
−
14
View file @
d6f15179
...
@@ -206,14 +206,6 @@ void LLHeroProbeManager::update()
...
@@ -206,14 +206,6 @@ void LLHeroProbeManager::update()
// In effect this simulates single-bounce lighting.
// In effect this simulates single-bounce lighting.
void
LLHeroProbeManager
::
updateProbeFace
(
LLReflectionMap
*
probe
,
U32
face
)
void
LLHeroProbeManager
::
updateProbeFace
(
LLReflectionMap
*
probe
,
U32
face
)
{
{
// Make our object invisible.
if
(
mNearestHero
)
{
mNearestHero
->
setDrawableState
(
LLDrawable
::
FORCE_INVISIBLE
,
true
);
gPipeline
.
markRebuild
(
mNearestHero
->
mDrawable
,
LLDrawable
::
REBUILD_ALL
);
}
// hacky hot-swap of camera specific render targets
// hacky hot-swap of camera specific render targets
gPipeline
.
mRT
=
&
gPipeline
.
mAuxillaryRT
;
gPipeline
.
mRT
=
&
gPipeline
.
mAuxillaryRT
;
...
@@ -382,12 +374,6 @@ void LLHeroProbeManager::updateProbeFace(LLReflectionMap* probe, U32 face)
...
@@ -382,12 +374,6 @@ void LLHeroProbeManager::updateProbeFace(LLReflectionMap* probe, U32 face)
mMipChain
[
0
].
flush
();
mMipChain
[
0
].
flush
();
}
}
if
(
mNearestHero
)
{
mNearestHero
->
clearDrawableState
(
LLDrawable
::
FORCE_INVISIBLE
,
true
);
gPipeline
.
markRebuild
(
mNearestHero
->
mDrawable
,
LLDrawable
::
REBUILD_ALL
);
}
}
}
void
LLHeroProbeManager
::
updateUniforms
()
void
LLHeroProbeManager
::
updateUniforms
()
...
...
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