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>2019-03-18 09:41:37 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-18 09:50:18 +0300
commitb749e43cd3e2a76a58f3fb7b47959b684061ea9b (patch)
treea76ade362ffaa3bbb2342ed3c0fa31761363fb32 /source/blender/editors/interface/interface_regions_intern.h
parent8f5ba8e1a1df2e496bbf24573a68cffe564e24db (diff)
Fix color ramp eyedropper menu item
This couldn't be accessed because the poll function was checking the active button. Add a "color_ramp" context pointer which is set by the menu. Alternative fix to D3984
Diffstat (limited to 'source/blender/editors/interface/interface_regions_intern.h')
-rw-r--r--source/blender/editors/interface/interface_regions_intern.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_regions_intern.h b/source/blender/editors/interface/interface_regions_intern.h
index 0d24b310817..fb71cbd788b 100644
--- a/source/blender/editors/interface/interface_regions_intern.h
+++ b/source/blender/editors/interface/interface_regions_intern.h
@@ -23,8 +23,6 @@
#ifndef __INTERFACE_REGIONS_INTERN_H__
#define __INTERFACE_REGIONS_INTERN_H__
-#define MENU_PADDING (int)(0.2f * UI_UNIT_Y)
-
/* interface_region_menu_popup.c */
uint ui_popup_menu_hash(const char *str);