History

Rename the _pipeline into _shapePipeline in the render::Args

Sam Gateau committed 9 years ago

Commit 4edea431 parent a8086769 files · +31 −31Browse files

Showing the changes to libraries/render-utils/src/RenderShadowTask.cpp (1 of 9 files). Show all

Unified · Split

libraries/render-utils/src/RenderShadowTask.cpp+3−3
@@ -68,7 +68,7 @@ void RenderShadowMap::run(const render::RenderContextPointer& renderContext, · 67 unmodified lines
6868 std::vector<ShapeKey> skinnedShapeKeys{};
6969
7070 // Iterate through all inShapes and render the unskinned
71− args->_pipeline = shadowPipeline;
71+ args->_shapePipeline = shadowPipeline;
7272 batch.setPipeline(shadowPipeline->pipeline);
7373 for (auto items : inShapes) {
7474 if (items.first.isSkinned()) {
@@ -79,13 +79,13 @@ void RenderShadowMap::run(const render::RenderContextPointer& renderContext, · 4 unmodified lines
7979 }
8080
8181 // Reiterate to render the skinned
82− args->_pipeline = shadowSkinnedPipeline;
82+ args->_shapePipeline = shadowSkinnedPipeline;
8383 batch.setPipeline(shadowSkinnedPipeline->pipeline);
8484 for (const auto& key : skinnedShapeKeys) {
8585 renderItems(renderContext, inShapes.at(key));
8686 }
8787
88− args->_pipeline = nullptr;
88+ args->_shapePipeline = nullptr;
8989 args->_batch = nullptr;
9090 });
9191 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t