Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/rendering/SceneManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -396,10 +396,10 @@ rendering::VisualPtr SceneManager::CreateVisual(Entity _id,
// unlike setting transparency above, the parent submesh are not
// notified about the the cast shadows changes. So we need to set
// the material back to the submesh.
// \todo(anyone) find way to propate cast shadows changes tos submesh
// \todo(anyone) find way to propagate cast shadows changes to submesh
// in gz-rendering
submeshMat->SetCastShadows(_visual.CastShadows());
submesh->SetMaterial(submeshMat);
submesh->SetMaterial(submeshMat, false);
}
}
}
Expand Down
Loading