Skip to content

Commit 6988538

Browse files
author
Haydelj
committed
add braces
1 parent da50e7c commit 6988538

File tree

1 file changed

+2
-0
lines changed
  • src/Interface/Modules/Render/ES

1 file changed

+2
-0
lines changed

src/Interface/Modules/Render/ES/Core.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,14 @@ std::string ESCore::toString(std::string prefix) const
113113
bool ESCore::hasGeomPromise() const
114114
{
115115
for(auto& comp : mComponents)
116+
{
116117
if(comp.second->getNumComponents() > 0)
117118
{
118119
if(mComponentIDNameMap.find(comp.first) != mComponentIDNameMap.end() &&
119120
mComponentIDNameMap.at(comp.first) == "ren:GeomPromise")
120121
return true;
121122
}
123+
}
122124
return false;
123125
}
124126

0 commit comments

Comments
 (0)