diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-04-14 11:45:09 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-04-14 11:48:20 +0400 |
commit | 0d38f21cbc004a2aa8b4a944aaf068d83e75a197 (patch) | |
tree | bd31c2e765e962acb0071bf8b964fa19e4c1b660 /source/blender/editors/include/ED_node.h | |
parent | f24bfcffefa0eca74dbfb26f1e331c3f7a7da85e (diff) |
Fix the eyedropper not working properly with different scene linear spaces
Either was some residue from the past or somebody didn't implement this in
the right way.
Also fixed memory leak in ED_space_clip_color_sample() caused by missing
image buffer release.
Diffstat (limited to 'source/blender/editors/include/ED_node.h')
-rw-r--r-- | source/blender/editors/include/ED_node.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_node.h b/source/blender/editors/include/ED_node.h index b26dddd6f42..824c82a0069 100644 --- a/source/blender/editors/include/ED_node.h +++ b/source/blender/editors/include/ED_node.h @@ -108,7 +108,7 @@ void ED_node_composite_job(const struct bContext *C, struct bNodeTree *nodetree, void ED_operatormacros_node(void); /* node_view.c */ -bool ED_space_node_color_sample(struct SpaceNode *snode, struct ARegion *ar, int mval[2], float r_col[3]); +bool ED_space_node_color_sample(struct Scene *scene, struct SpaceNode *snode, struct ARegion *ar, int mval[2], float r_col[3]); #endif /* __ED_NODE_H__ */ |