diff --git a/components/sceneutil/mwshadowtechnique.cpp b/components/sceneutil/mwshadowtechnique.cpp index 3210bf4a4e..d9a3c9270a 100644 --- a/components/sceneutil/mwshadowtechnique.cpp +++ b/components/sceneutil/mwshadowtechnique.cpp @@ -1,3 +1,4 @@ +// clang-format off /* This file is based on OpenSceneGraph's src/osgShadow/ViewDependentShadowMap.cpp. * Where applicable, any changes made are covered by OpenMW's GPL 3 license, not the OSGPL. * The original copyright notice is listed below. @@ -3381,3 +3382,4 @@ osg::ref_ptr SceneUtil::MWShadowTechnique::getOrCreateShadowsBinS } return _shadowsBinStateSet; } +// clang-format on diff --git a/components/sceneutil/mwshadowtechnique.hpp b/components/sceneutil/mwshadowtechnique.hpp index 04355b5729..14cb885591 100644 --- a/components/sceneutil/mwshadowtechnique.hpp +++ b/components/sceneutil/mwshadowtechnique.hpp @@ -1,3 +1,4 @@ +// clang-format off /* This file is based on OpenSceneGraph's include/osgShadow/ViewDependentShadowMap. * Where applicable, any changes made are covered by OpenMW's GPL 3 license, not the OSGPL. * The original copyright notice is listed below. @@ -336,3 +337,4 @@ namespace SceneUtil { } #endif +// clang-format on diff --git a/components/sceneutil/optimizer.cpp b/components/sceneutil/optimizer.cpp index 00ebd018e1..2646291053 100644 --- a/components/sceneutil/optimizer.cpp +++ b/components/sceneutil/optimizer.cpp @@ -1,3 +1,4 @@ +// clang-format off /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield * * This library is open source and may be redistributed and/or modified under @@ -1976,3 +1977,4 @@ void Optimizer::MergeGroupsVisitor::apply(osg::Group &group) } } +// clang-format on diff --git a/components/sceneutil/optimizer.hpp b/components/sceneutil/optimizer.hpp index 946f2e1f55..6c19355331 100644 --- a/components/sceneutil/optimizer.hpp +++ b/components/sceneutil/optimizer.hpp @@ -1,3 +1,4 @@ +// clang-format off /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield * * This library is open source and may be redistributed and/or modified under @@ -468,3 +469,4 @@ inline bool BaseOptimizerVisitor::isOperationPermissibleForObject(const osg::Nod } #endif +// clang-format on