[ui] minor code cleanup

This commit is contained in:
Loïc Vital 2022-09-23 17:48:37 +02:00 committed by Fabien Castan
parent f90942bd2d
commit 9de858efe4
2 changed files with 23 additions and 6 deletions

View file

@ -856,8 +856,7 @@ ApplicationWindow {
viewer2D.tryLoadNode(node);
// 3D viewer
for(var i=0; i < node.attributes.count; ++i)
{
for (var i = 0; i < node.attributes.count; i++) {
var attr = node.attributes.at(i)
if(attr.isOutput && workspaceView.viewIn3D(attr, mouse))
break;