mirror of
https://github.com/overte-org/overte.git
synced 2025-04-11 19:32:58 +02:00
add spaces after fors
This commit is contained in:
parent
3bf690571c
commit
91e177f68b
1 changed files with 3 additions and 3 deletions
|
@ -893,7 +893,7 @@ void Model::updateRenderItemsKey(const render::ScenePointer& scene) {
|
|||
}
|
||||
auto renderItemsKey = _renderItemKeyGlobalFlags;
|
||||
render::Transaction transaction;
|
||||
for(auto itemID: _modelMeshRenderItemIDs) {
|
||||
for (auto itemID: _modelMeshRenderItemIDs) {
|
||||
transaction.updateItem<ModelMeshPartPayload>(itemID, [renderItemsKey](ModelMeshPartPayload& data) {
|
||||
data.updateKey(renderItemsKey);
|
||||
});
|
||||
|
@ -979,7 +979,7 @@ void Model::setCullWithParent(bool cullWithParent) {
|
|||
|
||||
render::Transaction transaction;
|
||||
auto renderItemsKey = _renderItemKeyGlobalFlags;
|
||||
for(auto item : _modelMeshRenderItemIDs) {
|
||||
for (auto item : _modelMeshRenderItemIDs) {
|
||||
transaction.updateItem<ModelMeshPartPayload>(item, [cullWithParent, renderItemsKey](ModelMeshPartPayload& data) {
|
||||
data.setCullWithParent(cullWithParent);
|
||||
data.updateKey(renderItemsKey);
|
||||
|
@ -991,7 +991,7 @@ void Model::setCullWithParent(bool cullWithParent) {
|
|||
|
||||
void Model::setRenderWithZones(const QVector<QUuid>& renderWithZones) {
|
||||
render::Transaction transaction;
|
||||
for(auto item : _modelMeshRenderItemIDs) {
|
||||
for (auto item : _modelMeshRenderItemIDs) {
|
||||
transaction.updateItem<ModelMeshPartPayload>(item, [renderWithZones](ModelMeshPartPayload& data) {
|
||||
data.setRenderWithZones(renderWithZones);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue