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-12-29 02:04:39 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-12-29 02:04:39 +0300
commit363cf1152fcbbe5fcd1a0b07833c1cf0370dba74 (patch)
treec7eaa3e24c2c757673bf0cadb1cd46452b0db1be /source/blender/makesrna/intern/rna_layer.c
parent3f4e3f718fdc1163cc52a84d85978fa94b230211 (diff)
Cleanup: use bool, style
Diffstat (limited to 'source/blender/makesrna/intern/rna_layer.c')
-rw-r--r--source/blender/makesrna/intern/rna_layer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_layer.c b/source/blender/makesrna/intern/rna_layer.c
index 28b0b686bfc..c84c59287a5 100644
--- a/source/blender/makesrna/intern/rna_layer.c
+++ b/source/blender/makesrna/intern/rna_layer.c
@@ -381,7 +381,7 @@ void RNA_def_view_layer(BlenderRNA *brna)
RNA_def_struct_path_func(srna, "rna_ViewLayer_path");
RNA_def_struct_idprops_func(srna, "rna_ViewLayer_idprops");
- rna_def_view_layer_common(srna, 1);
+ rna_def_view_layer_common(srna, true);
func = RNA_def_function(srna, "update_render_passes", "rna_ViewLayer_update_render_passes");
RNA_def_function_ui_description(func, "Requery the enabled render passes from the render engine");