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:
authorDalai Felinto <dalai@blender.org>2021-09-15 14:12:40 +0300
committerDalai Felinto <dalai@blender.org>2021-09-16 17:02:33 +0300
commit867e6ffe88f830cbfa158de95dea7cbb155e3fdb (patch)
tree76367108d131477ebbb6c3c03f81bb1a8690efbf /source/blender/makesrna
parentf2cfad77f9f8876edfdc9930206fc12db71f25b0 (diff)
App Settings: Edge Resize
This prevents both editor resize as well as regions (e.g., the toolbar). Note: This option is not visible in the UI. Differential Revision: D12516
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_userdef.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c
index a457cb980ee..ff33dc8a2ee 100644
--- a/source/blender/makesrna/intern/rna_userdef.c
+++ b/source/blender/makesrna/intern/rna_userdef.c
@@ -6246,6 +6246,11 @@ static void rna_def_userdef_apps(BlenderRNA *brna)
prop, "Corner Splitting", "Split and join editors by dragging from corners");
RNA_def_property_update(prop, 0, "rna_userdef_screen_update");
+ prop = RNA_def_property(srna, "show_edge_resize", PROP_BOOLEAN, PROP_NONE);
+ RNA_def_property_boolean_negative_sdna(prop, NULL, "app_flag", USER_APP_LOCK_EDGE_RESIZE);
+ RNA_def_property_ui_text(prop, "Edge Resize", "Resize editors by dragging from the edges");
+ RNA_def_property_update(prop, 0, "rna_userdef_screen_update");
+
prop = RNA_def_property(srna, "show_regions_visibility_toggle", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_negative_sdna(prop, NULL, "app_flag", USER_APP_HIDE_REGION_TOGGLE);
RNA_def_property_ui_text(