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:
Diffstat (limited to 'source/blender/compositor/intern/COM_ChunkOrderHotspot.h')
-rw-r--r--source/blender/compositor/intern/COM_ChunkOrderHotspot.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/compositor/intern/COM_ChunkOrderHotspot.h b/source/blender/compositor/intern/COM_ChunkOrderHotspot.h
index af0cf897673..d7f40921836 100644
--- a/source/blender/compositor/intern/COM_ChunkOrderHotspot.h
+++ b/source/blender/compositor/intern/COM_ChunkOrderHotspot.h
@@ -27,8 +27,9 @@ struct ChunkOrderHotspot {
int y;
float addition;
- public:
- ChunkOrderHotspot(int x, int y, float addition);
+ ChunkOrderHotspot(int x, int y, float addition) : x(x), y(y), addition(addition)
+ {
+ }
double calc_distance(int x, int y);