Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
blender-embree3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
blender
blender-embree3
Commits
d7cff8f7
Commit
d7cff8f7
authored
11 years ago
by
Brecht Van Lommel
Browse files
Options
Downloads
Patches
Plain Diff
Fix T39114: cycles lamp ray visibility not working.
Thanks to Thomas for finding the cause.
parent
d7824e43
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
intern/cycles/render/scene.cpp
+12
-5
12 additions, 5 deletions
intern/cycles/render/scene.cpp
with
12 additions
and
5 deletions
intern/cycles/render/scene.cpp
+
12
−
5
View file @
d7cff8f7
...
...
@@ -137,6 +137,8 @@ void Scene::device_update(Device *device_, Progress& progress)
* - Camera may be used for adapative subdivison.
* - Displacement shader must have all shader data available.
* - Light manager needs lookup tables and final mesh data to compute emission CDF.
* - Film needs light manager to run for use_light_visibility
* - Lookup tables are done a second time to handle film tables
*/
image_manager
->
set_pack_images
(
device
->
info
.
pack_images
);
...
...
@@ -171,11 +173,6 @@ void Scene::device_update(Device *device_, Progress& progress)
if
(
progress
.
get_cancel
())
return
;
progress
.
set_status
(
"Updating Film"
);
film
->
device_update
(
device
,
&
dscene
,
this
);
if
(
progress
.
get_cancel
())
return
;
progress
.
set_status
(
"Updating Lookup Tables"
);
lookup_tables
->
device_update
(
device
,
&
dscene
);
...
...
@@ -196,11 +193,21 @@ void Scene::device_update(Device *device_, Progress& progress)
if
(
progress
.
get_cancel
())
return
;
progress
.
set_status
(
"Updating Film"
);
film
->
device_update
(
device
,
&
dscene
,
this
);
if
(
progress
.
get_cancel
())
return
;
progress
.
set_status
(
"Updating Integrator"
);
integrator
->
device_update
(
device
,
&
dscene
,
this
);
if
(
progress
.
get_cancel
())
return
;
progress
.
set_status
(
"Updating Lookup Tables"
);
lookup_tables
->
device_update
(
device
,
&
dscene
);
if
(
progress
.
get_cancel
())
return
;
progress
.
set_status
(
"Updating Device"
,
"Writing constant memory"
);
device
->
const_copy_to
(
"__data"
,
&
dscene
.
data
,
sizeof
(
dscene
.
data
));
}
...
...
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