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.
This commit is contained in:
		@@ -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__ */
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user