Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nerfacc
Commits
5cea4feb
Unverified
Commit
5cea4feb
authored
Apr 08, 2024
by
Ruilong Li(李瑞龙)
Committed by
GitHub
Apr 08, 2024
Browse files
Fix inplace prefix_trans
parent
32273f83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
nerfacc/volrend.py
nerfacc/volrend.py
+1
-1
No files found.
nerfacc/volrend.py
View file @
5cea4feb
...
@@ -212,7 +212,7 @@ def render_transmittance_from_alpha(
...
@@ -212,7 +212,7 @@ def render_transmittance_from_alpha(
1
-
alphas
,
packed_info
=
packed_info
,
indices
=
ray_indices
1
-
alphas
,
packed_info
=
packed_info
,
indices
=
ray_indices
)
)
if
prefix_trans
is
not
None
:
if
prefix_trans
is
not
None
:
trans
*
=
prefix_trans
trans
=
trans
*
prefix_trans
return
trans
return
trans
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment