Files
test2/source/blender/freestyle/intern/scene_graph/NodeDrawingStyle.cpp
Brecht Van Lommel d377ef2543 Clang Format: bump to version 17
Along with the 4.1 libraries upgrade, we are bumping the clang-format
version from 8-12 to 17. This affects quite a few files.

If not already the case, you may consider pointing your IDE to the
clang-format binary bundled with the Blender precompiled libraries.
2024-01-03 13:38:14 +01:00

30 lines
681 B
C++

/* SPDX-FileCopyrightText: 2012-2022 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
/** \file
* \ingroup freestyle
* \brief Class to define a Drawing Style to be applied to the underlying children. Inherits from
* NodeGroup.
*/
#include "NodeDrawingStyle.h"
namespace Freestyle {
void NodeDrawingStyle::accept(SceneVisitor &v)
{
v.visitNodeDrawingStyle(*this);
v.visitNodeDrawingStyleBefore(*this);
v.visitDrawingStyle(_DrawingStyle);
for (vector<Node *>::iterator node = _Children.begin(), end = _Children.end(); node != end;
++node)
{
(*node)->accept(v);
}
v.visitNodeDrawingStyleAfter(*this);
}
} /* namespace Freestyle */