Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-01-04 05:10:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-01-04 09:38:11 +0300
commitfea1026bb8e2b5bfdf247491658c384805b51813 (patch)
tree5832a7cf88c0190a7f0f1933507dfaf8ca6965bb /source/blender/editors/gpencil
parentdfbda59a66bf15827ed127e61c0cbb4de5563db6 (diff)
Cleanup: use 'pragma once'
Add explanations for cases the header-guard defines are still used.
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r--source/blender/editors/gpencil/gpencil_trace.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/editors/gpencil/gpencil_trace.h b/source/blender/editors/gpencil/gpencil_trace.h
index 85eb4e0609f..25d8dac2734 100644
--- a/source/blender/editors/gpencil/gpencil_trace.h
+++ b/source/blender/editors/gpencil/gpencil_trace.h
@@ -21,8 +21,7 @@
* \ingroup edgpencil
*/
-#ifndef __GPENCIL_TRACE_H__
-#define __GPENCIL_TRACE_H__
+#pragma once
/* internal exports only */
struct FILE;
@@ -79,5 +78,3 @@ void ED_gpencil_trace_data_to_strokes(struct Main *bmain,
const float sample,
const int32_t resolution,
const int32_t thickness);
-
-#endif /* __GPENCIL_TRACE_H__ */