diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-01-30 09:24:51 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-01-30 09:24:51 +0400 |
commit | 5f47f1370e63a54a98e7cce5b5aee91da1214aae (patch) | |
tree | c31568cb524a27a82ce21733968170c15202ce5e /source/blender/makesrna/intern/rna_scene.c | |
parent | 9598990b9b6ef4fb129943ea1288d9087dff9f9b (diff) |
UI: move toggle icons out of layout checks into rna
Diffstat (limited to 'source/blender/makesrna/intern/rna_scene.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index 19d90ab752b..e901737c670 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -4541,6 +4541,7 @@ static void rna_def_scene_render_data(BlenderRNA *brna) prop = RNA_def_property(srna, "use_lock_interface", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "use_lock_interface", 1); + RNA_def_property_ui_icon(prop, ICON_UNLOCKED, true); RNA_def_property_ui_text(prop, "Lock Interface", "Lock interface during rendering in favor of giving more memory to the renderer"); RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, NULL); |