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.
30 lines
681 B
C++
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 */
|