diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-12-29 02:04:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-12-29 02:04:39 +0300 |
commit | 363cf1152fcbbe5fcd1a0b07833c1cf0370dba74 (patch) | |
tree | c7eaa3e24c2c757673bf0cadb1cd46452b0db1be /source/blender/makesrna/intern/rna_scene.c | |
parent | 3f4e3f718fdc1163cc52a84d85978fa94b230211 (diff) |
Cleanup: use bool, style
Diffstat (limited to 'source/blender/makesrna/intern/rna_scene.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index f3f5371b458..e36a124073d 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -3221,7 +3221,7 @@ static void rna_def_unit_settings(BlenderRNA *brna) RNA_def_property_update(prop, NC_WINDOW, NULL); } -void rna_def_view_layer_common(StructRNA *srna, int scene) +void rna_def_view_layer_common(StructRNA *srna, const bool scene) { PropertyRNA *prop; @@ -3239,7 +3239,7 @@ void rna_def_view_layer_common(StructRNA *srna, int scene) RNA_def_property_struct_type(prop, "Material"); RNA_def_property_flag(prop, PROP_EDITABLE); RNA_def_property_ui_text(prop, "Material Override", - "Material to override all other materials in this view layer"); + "Material to override all other materials in this view layer"); RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, "rna_ViewLayer_material_override_update"); prop = RNA_def_property(srna, "samples", PROP_INT, PROP_UNSIGNED); |