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>2018-07-26 07:58:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-07-26 07:58:36 +0300
commit0dd3b200b06883796ad18bddd53cb97f12c94ee9 (patch)
treea08da645182631fe7d4a04ae63ee438ea86d8c4f
parent9257357c3ffa3ed1aeef984535b0a85b594d0f76 (diff)
Cleanup: remove redundant flag
Caller can pass this flag if necessary.
-rw-r--r--source/blender/editors/interface/interface_templates.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c
index e60c64a971f..131ffbca377 100644
--- a/source/blender/editors/interface/interface_templates.c
+++ b/source/blender/editors/interface/interface_templates.c
@@ -1557,7 +1557,7 @@ static void template_operator_redo_property_buts_draw(
eAutoPropButsReturn return_info = uiTemplateOperatorPropertyButs(
C, layout, op,
UI_BUT_LABEL_ALIGN_NONE,
- layout_flags | (r_has_advanced ? UI_TEMPLATE_OP_PROPS_HIDE_ADVANCED : 0));
+ layout_flags);
if (return_info & UI_PROP_BUTS_ANY_FAILED_CHECK) {
if (r_has_advanced) {
*r_has_advanced = true;