mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 03:19:24 +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;
|
auto renderItemsKey = _renderItemKeyGlobalFlags;
|
||||||
render::Transaction transaction;
|
render::Transaction transaction;
|
||||||
for(auto itemID: _modelMeshRenderItemIDs) {
|
for (auto itemID: _modelMeshRenderItemIDs) {
|
||||||
transaction.updateItem<ModelMeshPartPayload>(itemID, [renderItemsKey](ModelMeshPartPayload& data) {
|
transaction.updateItem<ModelMeshPartPayload>(itemID, [renderItemsKey](ModelMeshPartPayload& data) {
|
||||||
data.updateKey(renderItemsKey);
|
data.updateKey(renderItemsKey);
|
||||||
});
|
});
|
||||||
|
@ -979,7 +979,7 @@ void Model::setCullWithParent(bool cullWithParent) {
|
||||||
|
|
||||||
render::Transaction transaction;
|
render::Transaction transaction;
|
||||||
auto renderItemsKey = _renderItemKeyGlobalFlags;
|
auto renderItemsKey = _renderItemKeyGlobalFlags;
|
||||||
for(auto item : _modelMeshRenderItemIDs) {
|
for (auto item : _modelMeshRenderItemIDs) {
|
||||||
transaction.updateItem<ModelMeshPartPayload>(item, [cullWithParent, renderItemsKey](ModelMeshPartPayload& data) {
|
transaction.updateItem<ModelMeshPartPayload>(item, [cullWithParent, renderItemsKey](ModelMeshPartPayload& data) {
|
||||||
data.setCullWithParent(cullWithParent);
|
data.setCullWithParent(cullWithParent);
|
||||||
data.updateKey(renderItemsKey);
|
data.updateKey(renderItemsKey);
|
||||||
|
@ -991,7 +991,7 @@ void Model::setCullWithParent(bool cullWithParent) {
|
||||||
|
|
||||||
void Model::setRenderWithZones(const QVector<QUuid>& renderWithZones) {
|
void Model::setRenderWithZones(const QVector<QUuid>& renderWithZones) {
|
||||||
render::Transaction transaction;
|
render::Transaction transaction;
|
||||||
for(auto item : _modelMeshRenderItemIDs) {
|
for (auto item : _modelMeshRenderItemIDs) {
|
||||||
transaction.updateItem<ModelMeshPartPayload>(item, [renderWithZones](ModelMeshPartPayload& data) {
|
transaction.updateItem<ModelMeshPartPayload>(item, [renderWithZones](ModelMeshPartPayload& data) {
|
||||||
data.setRenderWithZones(renderWithZones);
|
data.setRenderWithZones(renderWithZones);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue