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 <campbell@blender.org>2022-03-26 10:39:42 +0300
committerCampbell Barton <campbell@blender.org>2022-03-26 10:42:33 +0300
commit9c41767d57cd911edaa0c021f7709ea87967a155 (patch)
tree1dd538b69aeacc3364b065b05efe9bbaeae001e2 /source/blender/windowmanager/intern
parent4d5e8e54774c22426a78bdd8aeaf55e601d22f8d (diff)
Cleanup: move eFileSel_Action from DNA to WM_api.h
This isn't stored in blend files so it can be moved out of DNA. Also use an enum for `WM_FILESEL_*` members.
Diffstat (limited to 'source/blender/windowmanager/intern')
-rw-r--r--source/blender/windowmanager/intern/wm_operator_props.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/windowmanager/intern/wm_operator_props.c b/source/blender/windowmanager/intern/wm_operator_props.c
index dacc17c2c1e..c048b64426a 100644
--- a/source/blender/windowmanager/intern/wm_operator_props.c
+++ b/source/blender/windowmanager/intern/wm_operator_props.c
@@ -58,12 +58,12 @@ static const EnumPropertyItem *wm_operator_properties_filesel_sort_items_itemf(
}
void WM_operator_properties_filesel(wmOperatorType *ot,
- int filter,
- short type,
- short action,
- short flag,
- short display,
- short sort)
+ const int filter,
+ const short type,
+ const eFileSel_Action action,
+ const eFileSel_Flag flag,
+ const short display,
+ const short sort)
{
PropertyRNA *prop;