diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-09-04 13:04:47 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-09-04 13:04:47 +0300 |
commit | 8057ab10db5945db18ccb45265b91ce120ae0be5 (patch) | |
tree | 974381c1d2264099848b2c1c5ed8a469a980a32e /source/blender/freestyle/intern/stroke | |
parent | 371ddda4d0b3c2ef0c40f604715db801dc33b669 (diff) |
Cleanup: Clang-Tidy readability-const-return-type fixes
No functional changes.
Diffstat (limited to 'source/blender/freestyle/intern/stroke')
-rw-r--r-- | source/blender/freestyle/intern/stroke/Curve.cpp | 2 | ||||
-rw-r--r-- | source/blender/freestyle/intern/stroke/Curve.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/stroke/Curve.cpp b/source/blender/freestyle/intern/stroke/Curve.cpp index 51c40c890a3..7129a35ffdb 100644 --- a/source/blender/freestyle/intern/stroke/Curve.cpp +++ b/source/blender/freestyle/intern/stroke/Curve.cpp @@ -421,7 +421,7 @@ const Polygon3r &CurvePoint::occludee() const return __A->getFEdge(*__B)->occludee(); } -const bool CurvePoint::occludee_empty() const +bool CurvePoint::occludee_empty() const { if (__A == 0) { return __B->occludee_empty(); diff --git a/source/blender/freestyle/intern/stroke/Curve.h b/source/blender/freestyle/intern/stroke/Curve.h index 5f0d2a6aed7..518f4ff345b 100644 --- a/source/blender/freestyle/intern/stroke/Curve.h +++ b/source/blender/freestyle/intern/stroke/Curve.h @@ -325,7 +325,7 @@ class CurvePoint : public Interface0D { int occluders_size() const; const Polygon3r &occludee() const; const SShape *occluded_shape() const; - const bool occludee_empty() const; + bool occludee_empty() const; real z_discontinuity() const; #if 0 float local_average_depth() const; |